Content Processing C. Edward Chow Department of Computer Scien - PowerPoint PPT Presentation

1 / 20
About This Presentation
Title:

Content Processing C. Edward Chow Department of Computer Scien

Description:

Is represented by states and transitions. and connected to channels. ... gs1. gs3. gs4. Reachability Graph. A process of generating all possible ... – PowerPoint PPT presentation

Number of Views:76
Avg rating:3.0/5.0
Slides: 21
Provided by: petEceIi
Category:

less

Transcript and Presenter's Notes

Title: Content Processing C. Edward Chow Department of Computer Scien


1
(No Transcript)
2
(No Transcript)
3
(No Transcript)
4
(No Transcript)
5
(No Transcript)
6
(No Transcript)
7
(No Transcript)
8
(No Transcript)
9
(No Transcript)
10
(No Transcript)
11
(No Transcript)
12
Reachability Analysis
  • Starting from initial global state, where
    channels are empty and machines at their initial
    state, explore all possible reachable state by
    firing the possible transitions (and generating
    global states) from any given reachable state.
  • All deadlock and unspecified reception errors
    will be captured/marked as individual global
    state.
  • By examining the number of msgs in the channels
    we can design the buffer size for the protocol.
  • Can detect non-executable states and transitions
    by marking those state are touched and transition
    that are fired during the reachability analysis.

13
Reability analysis
14
Reachability Analysis Exercise
  • Perform the reachability analysis on the Network
    (M, N).
  • What sizes of buffers are needed for the two FIFO
    channels?
  • Are there non-executable states or transitions?

15
Solution
  • One unspecified reception.
  • Both channels needbuffer size of 2.(see gs8 and
    gs9)
  • No non-executablestates and transitions.
  • Since both machinessend same typesof msgs. We
    useMachine to specifywhich machine firesthe
    transition.

16
Pros and Cons of Reachability Analysis
  • Advantages
  • Easily automated.
  • Many logical errors can be detected by only
    examining individual global states in the
    reachability graph.
  • Disadvantages
  • State space explosion problem.(The state
    space of a system can be very large, or even
    infinite. Thus, at the outset, it is impossible
    to explore the entire state space with limited
    resources of time and memory. )
  • Does not work on unbounded protocols.
  • Many relationships among the protocol state
    variables, expressing the desirable logical
    correctness properties of the protocol, are not
    apparent from simply traversing the reachability
    graph.

17
(No Transcript)
18
(No Transcript)
19
(No Transcript)
20
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com