Triggers
Triggers determine behavior (specifically which action blocks to perform):
T[ (SW * C) + ((TR / 10) * TW) > TT ] --> AB
SW - sensory weight (integer)
C - condition (1 or 0)
TR / 10 - trigger rate (# triggers over last 10 cycles)
TW - trend weight (integer)
TT - trigger threshold
AB - action block
Current conditions and past trigger firings influence further firings, which dictate behavior.
For example:
T[ (10 * SEE_RED) + ((0/10) * 100) > 5 ] --> AB
If seeing red (and any red seen in last ten cycles), perform subsequent action block.
0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home