File:Turnstile state machine colored.svg

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
Original file(SVG file, nominally 790 × 343 pixels, file size: 13 KB)

Summary

Transition diagram for a <a href="https://en.wikipedia.org/wiki/finite_state_machine" class="extiw" title="w:finite state machine">finite state machine</a> modeling a turnstile, a common introductory example used to explain state machines. The turnstile has two states, Locked and Unlocked. There are two inputs effecting the state: depositing a coin in the turnstile, coin, and pushing on the turnstile's bar, push. The turnstile bar is initially locked, and pushing on it has no effect. Putting a coin in changes the state to Unlocked unlocking the bar so it can turn. A customer pushing through the turnstile changes the state back to Locked so additional customers can't get through until another coin is deposited. The arrow into the Locked node from the black dot indicates it is the initial state.

Licensing

Lua error in package.lua at line 80: module 'strict' not found.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current03:28, 5 January 2017Thumbnail for version as of 03:28, 5 January 2017790 × 343 (13 KB)127.0.0.1 (talk)Transition diagram for a <a href="https://en.wikipedia.org/wiki/finite_state_machine" class="extiw" title="w:finite state machine">finite state machine</a> modeling a turnstile, a common introductory example used to explain state machines. The turnstile has two states, <i><b>Locked</b></i> and <i><b>Unlocked</b></i>. There are two inputs effecting the state: depositing a coin in the turnstile, <i><b>coin</b></i>, and pushing on the turnstile's bar, <i><b>push</b></i>. The turnstile bar is initially locked, and pushing on it has no effect. Putting a coin in changes the state to <i><b>Unlocked</b></i> unlocking the bar so it can turn. A customer pushing through the turnstile changes the state back to <i><b>Locked</b></i> so additional customers can't get through until another coin is deposited. The arrow into the <i><b>Locked</b></i> node from the black dot indicates it is the initial state.
  • You cannot overwrite this file.

The following page links to this file: