• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

state diagram

 
author & internet detective
Posts: 42056
926
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am used to seeing something like this as a state diagram:

image from http://upload.wikimedia.org/wikipedia/commons/b/bc/Mealymachine_jaredwf.png

"Think Python" uses state diagram to mean the states of the variables. Where does this later use come from? Does either diagram have an alternate name?
 
Author
Posts: 28
Python Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jeanne,

"State diagram" has several meanings in different contexts. The diagram you showed is a finite state machine. In UML, a state diagram usually shows the states of an interactive system and the events that cause transitions between states.

In Think Python I use the term in a slightly non-standard way, to refer to a diagram that shows the state of a running program. In UML it would be called an object diagram, but at the point in the book where I introduce state diagrams, we don't know about objects yet.

Allen
 
Stop it! You're embarassing me! And you are embarrassing this tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic