[alicebot-archcomm] more random <random>

Kim Sullivan alicebot-archcomm@list.alicebot.org
Tue, 30 Apr 2002 00:30:31 +0200


> random - selecting only one in the list equally
> random - selecting only one true statement from an expression
> random - shuffling, selecting one (and maybe) adjusting its users
> value to false
> within the list
> straight list - pick first true and break
> straight list - pick all true
> straight list - shuffling, picking one starting from top/bottom of stack
>
> The card analogy is good use but I think only if you apply the
> color dimension
> (red = true, black = false) and work ur way around.
>
> Then there is the issue of weighting each item in the list. :-\
>

Any idea on how to reasonably implement it?  (we should probably continue on
the devlist with this) I think this comes down to having a "local variable"
associated with a certain category (to store the shuffled list, for
example), the rest is just adding selection options. BTW, once there is a
reasonable solution there are other uses for it - e.g. storing an activation
count (if it is used in the template that is - no need to store it for all
cats).

Kim