Advertisement
Guest User

Untitled

a guest
Aug 8th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
DOT 0.64 KB | None | 0 0
  1. digraph finite_state_machine {
  2.     rankdir=LR;
  3.     size="8,5"
  4.     node [shape = doublecircle]; q_2,q_4;
  5.    
  6.      node [shape = none, label = ""]; INVISIBLENODE;
  7.     node [shape = circle];
  8.    
  9.     q_0 [label ="Q0"];
  10.         q_2 [ label="Q2" ];
  11.     q_3 [ label="Q3" ];
  12.     q_4 [ label="Q4" ];
  13.     q_5 [ label="Q5" ];
  14.  
  15.  
  16.  q_0-> q_2 [label = "1"];
  17. INVISIBLENODE -> q_0
  18.     q_2 -> q_2 [label = "1"];
  19.     q_2 -> q_3 [label = "0"];
  20.     q_3 -> q_3 [ label = "0"];
  21.     q_3 -> q_2 [ label = "1"];
  22.     q_0 -> q_4 [label ="0"];
  23.     q_4->q_4 [label = "0"];
  24.     q_4->q_5 [label = "1"];
  25.     q_5->q_5 [label = "1"];
  26.     q_5->q_4 [label = "0"];
  27.    
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement