Skip to content

Instantly share code, notes, and snippets.

@chrisber
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisber/e8c4394f7d887426bebd to your computer and use it in GitHub Desktop.
Save chrisber/e8c4394f7d887426bebd to your computer and use it in GitHub Desktop.
dtmc statechart
dtmc
module statechart
// local state
s : [0..4] init 0;
[] s=0 -> 1.0 : (s'=1) ;
[] s=1 -> 0.2 : (s'=3) + 0.8 : (s'=2);
[] s=2 -> 1.0 : (s'=1);
[] s=3 -> 0.5 : (s'=0) + 0.5 : (s'=1);
endmodule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment