#N canvas 652 147 612 616 12;
#X obj 147 299 hradio 15 1 0 10 empty empty threshold 0 -8 0 10 -262144
-1 -1 5;
#X obj 147 319 + 1;
#X floatatom 33 402 5 0 0 0 - - -;
#X obj 33 180 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 33 209 metro 500;
#X obj 147 231 loadbang;
#X msg 147 256 5;
#X obj 33 377 list-wrandom(feedback) 16 50 50 7;
#X text 30 441 \$1: number of options \; \$2: range of result(ie normalized
* x) \; \$3: min value result \; \; inlets: 1: bang to get value \;
2: bang to ? \; 3: threshold count to send new weights list \; (>=1)
\; \; warning: maximum histogram count for each item=100.;
#X obj 90 319 bng 15 250 50 0 empty empty reset 17 7 0 10 -262144 -1
-1;
#X floatatom 204 336 5 1 128 1 array_size - -;
#X text 259 355 list of params: size \, range \, min \, threshold;
#X obj 261 403 bng 15 250 50 0 empty empty bang_just_before_sending_in_new_weights
17 7 0 10 -262144 -1 -1;
#X text 105 204 anything to get a value;
#X text 31 16 list-wrandom(feedback): \; \; requires: \; list-abs \,
sfruit \; \; Using histogram results of list-wrandom \; to provide
the weights list for list-wrandom. So after any histogram item count
is over threshold \; it sends the histogram results as the new weights
\; for the list-wrandom.;
#X connect 0 0 1 0;
#X connect 1 0 7 2;
#X connect 3 0 4 0;
#X connect 4 0 7 0;
#X connect 5 0 6 0;
#X connect 6 0 0 0;
#X connect 7 0 2 0;
#X connect 7 1 12 0;
#X connect 9 0 7 1;
#X connect 10 0 7 3;
