aboutsummaryrefslogtreecommitdiff
path: root/gfsm/src/gfsm_markov-help.pd
blob: c125a5b06f0b7abe0681f47cce8663f8297c8b9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#N canvas 0 31 680 594 10;
#X text 150 -2 gfsm_markov : Markov chain using gfsm;
#X text 15 41 INLETS:;
#X text 28 56 1 - control messages;
#X text 233 41 OUTLETS:;
#X text 17 21 SYNTAX: gfsm_markov OBJNAME;
#X text 365 24 REQUIRES:;
#X obj 433 24 gfsm;
#X obj 469 24 zexy;
#X text 246 83 3 - bang when stuck;
#X text 247 69 2 - upper side atoms on "next";
#X text 247 55 1 - lower side atoms on "next";
#X obj 39 494 print lo;
#X obj 134 494 print hi;
#X obj 230 494 print stuck;
#X obj 39 473 gfsm_markov help-gfsm-markov;
#X msg 48 175 load_bin help-gfsm_markov;
#X msg 49 192 save-bin help-gfsm_markov;
#X msg 39 125 load help-gfsm_markov;
#X msg 40 142 save help-gfsm_markov;
#X msg 55 250 set foo;
#X msg 61 267 set;
#X msg 60 298 add foo bar 0.42;
#X msg 65 361 addi foo baz 1;
#X msg 78 408 next \$1;
#X floatatom 78 392 5 0 0 0 - - -;
#X msg 78 428 next;
#X msg 78 450 bang;
#X msg 53 223 clear;
#X text 273 126 load BASE : load text files BASE.lab and BASE.tfst
;
#X text 274 142 save BASE : save text files BASE.lab \, BASE.tfst;
#X text 246 175 load_bin BASE : load files BASE.lab \, BASE.gfst;
#X text 246 192 save_bin BASE : save files BASE.lab \, BASE.gfst;
#X text 302 224 clear : clear underlying objects;
#X text 281 250 set ATOM : set current state to ATOM;
#X text 316 268 set : reset to initial (root) state;
#X text 227 297 add A1 A2 WEIGHT : add WEIGHT to arc on atom-pair A1:A2
;
#X text 276 316 add A1 A2 : like "add A1 A2 1";
#X msg 62 315 add foo baz;
#X text 297 332 add A1 : like "add A1 0 1";
#X text 219 361 addi A1 A2 WEIGHT : add WEIGHT to initial arc on A1:A2
;
#X text 273 408 next PROB : follow next arc with PROB hint-probability
;
#X text 308 429 next : follow next arc \, random probability;
#X text 308 450 bang : alias for "next";
#X text 375 516 Bryan Jurish <moocow@ling.uni-potsdam.de>;
#X msg 65 332 add foo;
#N canvas 577 273 494 344 META 0;
#X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42.;
#X text 12 25 LICENSE GPL v2;
#X text 12 145 AUTHOR Bryan Jurish <moocow@ling.uni-potsdam.de>;
#X text 12 45 DESCRIPTION Markov chain using gfsm;
#X text 12 65 INLET_0 load save clear set add addi next bang;
#X text 12 85 OUTLET_0;
#X text 12 5 KEYWORDS control storage abstraction filesystem;
#X text 12 105 OUTLET_1;
#X text 12 125 OUTLET_2;
#X restore 615 558 pd META;
#X connect 14 0 11 0;
#X connect 14 1 12 0;
#X connect 14 2 13 0;
#X connect 15 0 14 0;
#X connect 16 0 14 0;
#X connect 17 0 14 0;
#X connect 18 0 14 0;
#X connect 19 0 14 0;
#X connect 20 0 14 0;
#X connect 21 0 14 0;
#X connect 22 0 14 0;
#X connect 23 0 14 0;
#X connect 24 0 23 0;
#X connect 25 0 14 0;
#X connect 26 0 14 0;
#X connect 27 0 14 0;
#X connect 37 0 14 0;
#X connect 44 0 14 0;