#N canvas 303 242 800 222 10;
#X obj 93 61 r \$2-state;
#X obj 93 107 list-wrandom;
#X obj 174 61 r \$2-probs;
#X obj 174 83 route \$1;
#X obj 93 85 select \$1;
#X text 310 51 markov-trans: transitions from one state ("\$0-state")
to the next state ("\$0-nextstate") using the probabilities defined
via \$0-probs;
#X obj 93 131 s \$2-nextstate;
#X connect 0 0 4 0;
#X connect 1 0 6 0;
#X connect 2 0 3 0;
#X connect 3 0 1 1;
#X connect 4 0 1 0;
