Bet!(): Select a value
with probability
If
then set variable
, else
. Select a value
with probability
If
then set variable
, else
. If
then exit. If
then give reward
to LEFT and reward
to RIGHT. Otherwise give reward
to LEFT and reward
to RIGHT. Set
![]()
(surprise rewards become visible to the system in the form of inputs).
Comment: argumentsare indexed by
, while arguments
are chosen according to module columns indexed by
. See Section 2 for Bet!'s interpretation.