|
expandPolicy(entity,
name,
interrupt=None,
keys=[ ] ,
debug=0)
Returns:
the dynamics that the given entity thinks govern the turn of the
named other entity |
source code
|
|
|
|
|
getLookaheadTree(entity,
chosenAction,
sequence,
local=False,
choices=None,
goals=None,
interrupt=None,
debug=0)
Returns:
a decision tree representing the dynamics of the given actions
followed by the given sequence of agent responses. |
source code
|
|
|
getDiffTree(entity,
action1,
action2,
sequence,
debug=1)
Returns a decision tree representing the state difference between the
two specified actions (i.e., S(action1)-S(action2)), subject to the
provided turn sequence, following the format for getLookaheadTree. |
source code
|
|
|
sign(value)
Returns 1 for any positive value, -1 for any negative value, and 0
for any zero value |
source code
|
|
|
findConstraint(entity,
goodAction,
badAction,
sequence,
debug=None)
Returns a dictionary of possible singleton goal weight changes that
satisfy the constraint that the specified entity prefer the
goodAction over the badAction given the provided lookahead turn
sequence. |
source code
|
|
|
findAllConstraints(entity,
goodAction,
sequence,
debug=0) |
source code
|
|