• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
The phone is an example of a finite state machine
 

The phone is an example of a finite state machine

on

  • 2,856 views

This slide set is a short presentation that helps give the idea of a finite state machine. The phone is an example of a finite state machine. It has state, and events transition it from one state to ...

This slide set is a short presentation that helps give the idea of a finite state machine. The phone is an example of a finite state machine. It has state, and events transition it from one state to another.

Statistics

Views

Total Views
2,856
Views on SlideShare
2,741
Embed Views
115

Actions

Likes
0
Downloads
32
Comments
1

3 Embeds 115

http://www.flightgear.org 84
http://flightgear.org 30
http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    The phone is an example of a finite state machine The phone is an example of a finite state machine Presentation Transcript

    • The Phone
      • A simple example of a finite state machine
      • Ken Johnson
    • Waiting The phone is idle and waiting for something to do
    • Waiting Dialling Event: Start calling You start to phone someone
    • Waiting Dialling Wait for answer Event: Start calling λ You dial a number and start waiting for someone to answer the remote phone
    • Waiting Dialling Wait for answer Conversation Event: Start calling Event: Pick up λ Someone answers the remote phone and you talk to him (her)
    • Waiting Dialling Wait for answer Conversation Event: Hang up Event: Start calling Event: Pick up λ You finish your conversation and hang up
    • Waiting Dialling Wait for answer Conversation Event: Hang up Time out Event: Start calling Event: Pick up λ If nobody answers the remote phone, you hang up and the phone becomes idle again
    • Waiting Ringing Dialling Wait for answer Conversation Event: Hang up Time out Event: Incoming call Event: Start calling Event: Pick up λ If there is an incoming call then the phone starts to ring
    • Waiting Ringing Dialling Conversation Wait for answer Conversation Event: Hang up Time out Event: Answered Event: Incoming call Event: Start calling Event: Pick up λ If you answer the phone then you can talk to the remote person
    • Waiting Ringing Dialling Conversation Wait for answer Conversation Event: Hang up Time out Event: Answered Event: Incoming call Event: Start calling Event: Pick up Event: Hang up λ You hang up when you finish talking and the phone becomes idle again
    • Waiting Ringing Dialling Conversation Wait for answer Conversation Event: Hang up Time out Event: Answered Event: Incoming call Event: Start calling Event: Pick up Event: Hang up λ If nobody answers a ringing phone it will go back into an idle state Time out