Arjun Suresh (talk | contribs) |
Arjun Suresh (talk | contribs) |
||
(25 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Graph= | =Graph= | ||
+ | |||
+ | <graphviz caption='2014-12.23'> | ||
+ | digraph 20141223 { | ||
+ | node [shape = circle] node1,node6; | ||
+ | node [shape = rectangle]; | ||
+ | node1 [label = "start"] | ||
+ | node2 [label = "1"] | ||
+ | node3 [label = "2"] | ||
+ | node4 [label = "3..9"] | ||
+ | node5 [label = "10 11"] | ||
+ | node6 [label = "End"] | ||
+ | node1->node2; | ||
+ | node2 -> node3; | ||
+ | node3 -> node4; | ||
+ | node4 -> node5; | ||
+ | node5 -> node6; | ||
+ | node4 -> node4; | ||
+ | node5 -> node3; | ||
+ | |||
+ | |||
+ | } | ||
+ | </graphviz> | ||
+ | |||
+ | <graphviz caption='2014-12.24'> | ||
+ | digraph 20141224 { | ||
+ | node [shape = none] ""; | ||
+ | node [shape = circle]; | ||
+ | node1 [label = "b"] | ||
+ | node3 [label = "+(a)"] | ||
+ | node2 [label = "c"] | ||
+ | node4 [label = "+(d, a)"] | ||
+ | node5 [label = "+(c, e)"] | ||
+ | node6 [label = "d"] | ||
+ | node1 -> node3; | ||
+ | node1 -> node4; | ||
+ | node2 -> node3; | ||
+ | node3 -> node5; | ||
+ | node6 -> node5; | ||
+ | node5 -> node4; | ||
+ | |||
+ | } | ||
+ | </graphviz> | ||
+ | |||
+ | |||
+ | <graphviz caption='2014-2.36'> | ||
+ | digraph 2014236 { | ||
+ | rankdir=LR; | ||
+ | node [shape = none] ""; | ||
+ | node [shape = doublecircle] q0,q1,q2,q4,q5; | ||
+ | node [shape = circle]; | ||
+ | |||
+ | ""-> q0; | ||
+ | q0->q1 [label="0"]; | ||
+ | q0->q4 [label="1"]; | ||
+ | q1->q2 [label="1"]; | ||
+ | q1 -> q1 [label="0"]; | ||
+ | q2 -> q1 [label="0"]; | ||
+ | q2 -> q3 [label="1"]; | ||
+ | q3 -> q1 [label="0"]; | ||
+ | q3 -> q3[label="1"]; | ||
+ | q4 -> q1[label="0"]; | ||
+ | q4->q5[label="1"]; | ||
+ | q5->q5[label="0,1"]; | ||
+ | } | ||
+ | </graphviz> | ||
<graphviz caption='2014.9.19'> | <graphviz caption='2014.9.19'> | ||
− | digraph | + | digraph example12 { |
rankdir=LR; | rankdir=LR; | ||
node [shape = none] ""; | node [shape = none] ""; | ||
− | node [shape = doublecircle] | + | node [shape = doublecircle] q5,q2; |
node [shape = circle]; | node [shape = circle]; | ||
Line 13: | Line 78: | ||
q0->q2 [label="b"]; | q0->q2 [label="b"]; | ||
q1->q1 [label="a"]; | q1->q1 [label="a"]; | ||
− | q2 -> | + | q2 -> q3 [label="b"]; |
− | + | q3 -> q3 [label="b"]; | |
− | q2 -> | + | q3 -> q5 [label="a"]; |
− | q1 -> | + | q2 -> q5 [label="a"]; |
− | + | q1 -> q5[label="b"]; | |
+ | q5 -> q4[label="a,b"]; | ||
q4 -> q4[label="a,b"]; | q4 -> q4[label="a,b"]; | ||
} | } |