diff options
author | Jonathan Wilkes <jancsika1@users.sourceforge.net> | 2010-11-25 01:28:20 +0000 |
---|---|---|
committer | Jonathan Wilkes <jancsika1@users.sourceforge.net> | 2010-11-25 01:28:20 +0000 |
commit | 74fb55bdfcdcabe430ff2d2e682340757267508c (patch) | |
tree | 31da8b27ef9d66e7aadfb8155a90434be36f2560 /gfsm/src | |
parent | f32ab2eb4db354fa5143dbf0c36fd35589cd785f (diff) |
added META subpatch
svn path=/trunk/externals/moocow/; revision=14525
Diffstat (limited to 'gfsm/src')
-rw-r--r-- | gfsm/src/gfsm-help.pd | 15 | ||||
-rw-r--r-- | gfsm/src/gfsm_alphabet-help.pd | 49 | ||||
-rw-r--r-- | gfsm/src/gfsm_automaton-help.pd | 2 | ||||
-rw-r--r-- | gfsm/src/gfsm_markov-help.pd | 14 | ||||
-rw-r--r-- | gfsm/src/gfsm_markov.pd | 2 | ||||
-rw-r--r-- | gfsm/src/gfsm_state-help.pd | 46 | ||||
-rw-r--r-- | gfsm/src/test-alphabet2.pd | 2 | ||||
-rw-r--r-- | gfsm/src/test-automaton.pd | 2 | ||||
-rw-r--r-- | gfsm/src/test-automaton2.pd | 2 | ||||
-rw-r--r-- | gfsm/src/test-markov.pd | 106 | ||||
-rw-r--r-- | gfsm/src/test-state.pd | 2 | ||||
-rw-r--r-- | gfsm/src/test-state2.pd | 4 |
12 files changed, 146 insertions, 100 deletions
diff --git a/gfsm/src/gfsm-help.pd b/gfsm/src/gfsm-help.pd index 5a1edfa..bc574aa 100644 --- a/gfsm/src/gfsm-help.pd +++ b/gfsm/src/gfsm-help.pd @@ -1,5 +1,4 @@ -#N canvas 0 0 436 289 10; -#X obj 66 7 gfsm; +#N canvas 0 0 436 349 10; #X text 138 257 Bryan Jurish <moocow@ling.uni-potsdam.de>; #X text 21 43 EXTERNALS:; #X obj 41 72 gfsm_alphabet; @@ -10,8 +9,18 @@ #X text 160 98 weighted finite state machine; #X text 21 194 SEE ALSO:; #X text 38 211 gfsmutils(1); -#X text 99 8 : finite state machine external library; +#X text 100 7 : finite state machine external library; #X obj 40 150 gfsm_markov; #X text 161 151 trainable Markov chain; #X text 38 227 http://www.ling.uni-potsdam.de/~moocow/projects/gfsm ; +#X obj 66 7 gfsm; +#N canvas 446 120 494 344 META 0; +#X text 12 105 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 85 AUTHOR Bryan Jurish <moocow@ling.uni-potsdam.de>; +#X text 12 45 DESCRIPTION finite state machine external library; +#X text 12 5 KEYWORDS control; +#X text 12 65 INLET_0; +#X restore 375 308 pd META; diff --git a/gfsm/src/gfsm_alphabet-help.pd b/gfsm/src/gfsm_alphabet-help.pd index b3d6653..ec99a60 100644 --- a/gfsm/src/gfsm_alphabet-help.pd +++ b/gfsm/src/gfsm_alphabet-help.pd @@ -1,4 +1,4 @@ -#N canvas 16 0 646 547 10; +#N canvas 0 31 646 547 10; #X text 289 523 Bryan Jurish <moocow@ling.uni-potsdam.de>; #X text 9 524 SEE ALSO:; #X text 9 69 INLETS:; @@ -43,22 +43,35 @@ #X text 205 372 "rmchar INT" : remove mapping for label INT; #X text 198 353 "rmatom ATOM" : remove mapping for atom ATOM; #X obj 117 525 gfsm_automaton; -#X obj 13 471 gfsm_alphabet help-alphabet; #X msg 13 127 alphabet help-alphabet; #X msg 92 425 load tmp.lab; -#X connect 12 0 41 0; -#X connect 14 0 41 0; -#X connect 16 0 41 0; -#X connect 21 0 41 0; -#X connect 22 0 41 0; -#X connect 23 0 41 0; -#X connect 25 0 41 0; -#X connect 28 0 41 0; -#X connect 29 0 41 0; -#X connect 31 0 41 0; -#X connect 36 0 41 0; -#X connect 37 0 41 0; -#X connect 41 0 10 0; -#X connect 41 1 11 0; -#X connect 42 0 41 0; -#X connect 43 0 41 0; +#N canvas 560 186 494 344 META 0; +#X text 12 155 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 135 AUTHOR Bryan Jurish <moocow@ling.uni-potsdam.de>; +#X text 12 45 DESCRIPTION integer <-> atom map for finite state machines +; +#X text 12 65 INLET_0 alphabet insert atom2char char2atom char2atom! +clear rmatom rmchar print load save; +#X text 12 5 KEYWORDS control storage filesystem; +#X text 12 95 OUTLET_0; +#X text 12 115 OUTLET_1; +#X restore 587 518 pd META; +#X obj 13 471 gfsm_alphabet help-alphabet; +#X connect 12 0 44 0; +#X connect 14 0 44 0; +#X connect 16 0 44 0; +#X connect 21 0 44 0; +#X connect 22 0 44 0; +#X connect 23 0 44 0; +#X connect 25 0 44 0; +#X connect 28 0 44 0; +#X connect 29 0 44 0; +#X connect 31 0 44 0; +#X connect 36 0 44 0; +#X connect 37 0 44 0; +#X connect 41 0 44 0; +#X connect 42 0 44 0; +#X connect 44 0 10 0; +#X connect 44 1 11 0; diff --git a/gfsm/src/gfsm_automaton-help.pd b/gfsm/src/gfsm_automaton-help.pd index a26c7fa..1dec9d2 100644 --- a/gfsm/src/gfsm_automaton-help.pd +++ b/gfsm/src/gfsm_automaton-help.pd @@ -1,4 +1,4 @@ -#N canvas 8 34 479 520 10; +#N canvas 0 31 479 520 10; #X text 89 7 gfsm_automaton : weighted finite state machine; #X text 183 489 Bryan Jurish <moocow@ling.uni-potsdam.de>; #X text 7 436 SEE ALSO:; diff --git a/gfsm/src/gfsm_markov-help.pd b/gfsm/src/gfsm_markov-help.pd index 8d7a3a2..c125a5b 100644 --- a/gfsm/src/gfsm_markov-help.pd +++ b/gfsm/src/gfsm_markov-help.pd @@ -1,4 +1,4 @@ -#N canvas 39 25 680 536 10; +#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; @@ -48,6 +48,18 @@ #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; diff --git a/gfsm/src/gfsm_markov.pd b/gfsm/src/gfsm_markov.pd index a248b70..4b895c6 100644 --- a/gfsm/src/gfsm_markov.pd +++ b/gfsm/src/gfsm_markov.pd @@ -1,4 +1,4 @@ -#N canvas 386 0 450 300 10; +#N canvas 0 31 450 300 10; #X text 85 2 gfsm_markov : Markov chain using gfsm; #X text 181 17 for details \, see:; #N canvas 266 0 499 471 gfsm_markov_doc 0; diff --git a/gfsm/src/gfsm_state-help.pd b/gfsm/src/gfsm_state-help.pd index 775780f..d8f02b8 100644 --- a/gfsm/src/gfsm_state-help.pd +++ b/gfsm/src/gfsm_state-help.pd @@ -1,4 +1,4 @@ -#N canvas 426 16 651 599 10; +#N canvas 0 31 651 599 10; #X obj 85 569 gfsm; #X text 15 569 SEE ALSO:; #X text 41 6 gfsm_state : position "pointer" for finite-state automata @@ -27,7 +27,6 @@ #X msg 57 347 arc_first; #X msg 57 364 arc_next; #X msg 61 434 arc_reset; -#X obj 26 508 gfsm_state fsm-help 0; #X text 71 280 arcs are output as a list:; #X text 261 280 NEXT_STATEID LO HI WEIGHT; #X text 302 414 (negative labels are ignored); @@ -55,18 +54,31 @@ ID; ; #X text 323 261 SR - boolean: use gfsmSemiring?; #X msg 65 246 total_weight 1; -#X connect 12 0 25 0; -#X connect 15 0 25 0; -#X connect 16 0 25 0; -#X connect 17 0 25 0; -#X connect 20 0 25 0; -#X connect 22 0 25 0; -#X connect 23 0 25 0; -#X connect 24 0 25 0; -#X connect 25 0 11 0; -#X connect 29 0 25 0; -#X connect 34 0 25 0; -#X connect 38 0 25 0; -#X connect 40 0 25 0; -#X connect 42 0 25 0; -#X connect 48 0 25 0; +#X obj 26 508 gfsm_state fsm-help 0; +#N canvas 577 273 494 344 META 0; +#X text 12 135 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 115 AUTHOR Bryan Jurish <moocow@ling.uni-potsdam.de>; +#X text 12 5 KEYWORDS control storage; +#X text 12 45 DESCRIPTION position "pointer" for finite-state automata +; +#X text 12 65 INLET_0 automaton id set degree cyclic total_weight arc_gen +arc_first arc_next arc_nth arc_seek arc_reset add_weight; +#X text 12 95 OUTLET_0 anything; +#X restore 589 566 pd META; +#X connect 12 0 48 0; +#X connect 15 0 48 0; +#X connect 16 0 48 0; +#X connect 17 0 48 0; +#X connect 20 0 48 0; +#X connect 22 0 48 0; +#X connect 23 0 48 0; +#X connect 24 0 48 0; +#X connect 28 0 48 0; +#X connect 33 0 48 0; +#X connect 37 0 48 0; +#X connect 39 0 48 0; +#X connect 41 0 48 0; +#X connect 47 0 48 0; +#X connect 48 0 11 0; diff --git a/gfsm/src/test-alphabet2.pd b/gfsm/src/test-alphabet2.pd index 04e5928..88dfe1f 100644 --- a/gfsm/src/test-alphabet2.pd +++ b/gfsm/src/test-alphabet2.pd @@ -1,4 +1,4 @@ -#N canvas 484 16 460 391 10; +#N canvas 0 31 460 391 10; #X obj 33 324 print LEFT; #X obj 112 324 print RIGHT; #X msg 24 13 alphabet foo; diff --git a/gfsm/src/test-automaton.pd b/gfsm/src/test-automaton.pd index 45adf57..b5d5015 100644 --- a/gfsm/src/test-automaton.pd +++ b/gfsm/src/test-automaton.pd @@ -1,4 +1,4 @@ -#N canvas 169 63 974 447 10; +#N canvas 0 31 974 447 10; #X obj 13 7 gfsm; #X obj 22 324 gfsm_automaton; #X obj 22 359 print GFSM-1; diff --git a/gfsm/src/test-automaton2.pd b/gfsm/src/test-automaton2.pd index f503014..6315c5f 100644 --- a/gfsm/src/test-automaton2.pd +++ b/gfsm/src/test-automaton2.pd @@ -1,4 +1,4 @@ -#N canvas 110 261 845 398 10; +#N canvas 0 31 845 398 10; #X obj 13 7 gfsm; #X obj 23 362 print GFSM-1; #X obj 116 362 print GFSM-2; diff --git a/gfsm/src/test-markov.pd b/gfsm/src/test-markov.pd index 7ab52e8..19895af 100644 --- a/gfsm/src/test-markov.pd +++ b/gfsm/src/test-markov.pd @@ -1,4 +1,4 @@ -#N canvas 79 27 832 322 10; +#N canvas 0 31 832 322 10; #X obj 21 23 bng 20 250 50 0 \$0-draw-s empty DRAW 0 -6 0 8 -24198 -1 -1; #N canvas 0 0 466 454 draw 0; @@ -83,7 +83,6 @@ #X msg 413 208 bar; #X msg 442 209 baz; #X obj 382 279 s \$0-markov; -#X obj 34 225 gfsm_markov markov; #X obj 384 234 symbol; #X floatatom 481 210 5 0 0 0 - - -; #X msg 522 211 foo; @@ -140,7 +139,8 @@ #X msg 162 45 big; #X msg 270 44 big2; #X msg 49 73 markov2; -#X connect 2 0 31 0; +#X obj 34 225 gfsm_markov markov; +#X connect 2 0 80 0; #X connect 3 0 4 0; #X connect 4 0 6 0; #X connect 5 0 8 0; @@ -159,53 +159,53 @@ #X connect 24 0 22 1; #X connect 25 0 30 0; #X connect 26 0 25 0; -#X connect 27 0 32 0; -#X connect 28 0 32 0; -#X connect 29 0 32 0; -#X connect 31 0 58 0; -#X connect 31 1 71 0; -#X connect 31 2 75 0; -#X connect 31 2 76 0; -#X connect 32 0 25 0; -#X connect 33 0 39 0; -#X connect 34 0 38 0; -#X connect 35 0 38 0; -#X connect 36 0 38 0; -#X connect 38 0 39 0; -#X connect 39 0 37 0; -#X connect 40 0 18 0; -#X connect 41 0 56 1; -#X connect 42 0 44 0; -#X connect 43 0 42 0; -#X connect 45 0 46 1; -#X connect 46 0 56 0; -#X connect 47 0 46 0; -#X connect 48 0 43 0; -#X connect 49 0 57 1; -#X connect 50 0 55 0; -#X connect 51 0 52 1; -#X connect 52 0 57 0; -#X connect 53 0 52 0; -#X connect 54 0 50 0; -#X connect 55 0 44 0; -#X connect 56 0 48 0; -#X connect 57 0 54 0; -#X connect 58 0 68 0; -#X connect 59 0 58 1; -#X connect 60 0 61 0; -#X connect 61 0 63 0; -#X connect 61 0 65 0; -#X connect 62 0 61 1; -#X connect 63 0 64 0; -#X connect 66 0 67 0; -#X connect 67 0 44 0; -#X connect 71 0 69 0; -#X connect 72 0 71 1; -#X connect 73 0 74 0; -#X connect 74 0 44 0; -#X connect 75 0 31 0; -#X connect 76 0 70 0; -#X connect 77 0 76 1; -#X connect 78 0 6 0; -#X connect 79 0 10 0; -#X connect 80 0 6 0; +#X connect 27 0 31 0; +#X connect 28 0 31 0; +#X connect 29 0 31 0; +#X connect 31 0 25 0; +#X connect 32 0 38 0; +#X connect 33 0 37 0; +#X connect 34 0 37 0; +#X connect 35 0 37 0; +#X connect 37 0 38 0; +#X connect 38 0 36 0; +#X connect 39 0 18 0; +#X connect 40 0 55 1; +#X connect 41 0 43 0; +#X connect 42 0 41 0; +#X connect 44 0 45 1; +#X connect 45 0 55 0; +#X connect 46 0 45 0; +#X connect 47 0 42 0; +#X connect 48 0 56 1; +#X connect 49 0 54 0; +#X connect 50 0 51 1; +#X connect 51 0 56 0; +#X connect 52 0 51 0; +#X connect 53 0 49 0; +#X connect 54 0 43 0; +#X connect 55 0 47 0; +#X connect 56 0 53 0; +#X connect 57 0 67 0; +#X connect 58 0 57 1; +#X connect 59 0 60 0; +#X connect 60 0 62 0; +#X connect 60 0 64 0; +#X connect 61 0 60 1; +#X connect 62 0 63 0; +#X connect 65 0 66 0; +#X connect 66 0 43 0; +#X connect 70 0 68 0; +#X connect 71 0 70 1; +#X connect 72 0 73 0; +#X connect 73 0 43 0; +#X connect 74 0 80 0; +#X connect 75 0 69 0; +#X connect 76 0 75 1; +#X connect 77 0 6 0; +#X connect 78 0 10 0; +#X connect 79 0 6 0; +#X connect 80 0 57 0; +#X connect 80 1 70 0; +#X connect 80 2 74 0; +#X connect 80 2 75 0; diff --git a/gfsm/src/test-state.pd b/gfsm/src/test-state.pd index 2ee2b77..f8153c4 100644 --- a/gfsm/src/test-state.pd +++ b/gfsm/src/test-state.pd @@ -1,4 +1,4 @@ -#N canvas 430 0 616 494 10; +#N canvas 0 31 616 494 10; #X obj 13 7 gfsm; #X msg 23 84 automaton; #X msg 21 43 automaton a1; diff --git a/gfsm/src/test-state2.pd b/gfsm/src/test-state2.pd index a9983d0..03f205b 100644 --- a/gfsm/src/test-state2.pd +++ b/gfsm/src/test-state2.pd @@ -1,4 +1,4 @@ -#N canvas 346 27 616 494 10; +#N canvas 0 31 616 494 10; #X obj 13 7 gfsm; #X msg 23 84 automaton; #X msg 21 43 automaton a1; @@ -78,7 +78,7 @@ #X obj 243 242 symbol; #X obj 115 141 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#N canvas 486 0 310 377 weight_sum 1; +#N canvas 0 31 310 377 weight_sum 0; #X obj 34 11 inlet; #X msg 34 104 arc_next; #X obj 34 309 f 0; |