Home | Trees | Indices | Help |
|
---|
|
object --+ | dict --+ | Multiagent.MultiagentSystem --+ | MultiagentSimulation
Base multiagent class that provides rudimentary state and turn-taking infrastructure
|
|||
new empty dictionary |
|
||
|
|||
dict:StateKey→boolean
|
|
||
Distribution |
|
||
|
|||
str[] |
|
||
|
|||
KeyedVector |
|
||
str[]
|
|
||
KeyedTree |
|
||
Agent[] |
|
||
int |
|
||
int |
|
||
|
|||
KeyedTree |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
str
|
turnFeature =
the name of the feature labeling the turn status of each agent |
||
threshold = 0.5 the activation threshold for the agent's turnFeature valueb |
|
|||
teamwork.math.KeyedTree.KeyedTree |
_turnDynamics the dynamics of turn taking |
||
KeyedVector |
order the base turn-taking order, which is the order set at the beginning of the simulation |
||
int
|
time the number of epochs passed |
|
|||
Inherited from |
|
Initializes a simulation to contain the given list of agents. If you would like to create your own turn state and dynamics, override the methods generateOrder and createTurnDynamics.
|
Adds the agent to this collection
Warning: will clobber any pre-existing agent with the same name |
|
|
Removes the given feature from the state vector
|
|
Creates a new order vector
|
Computes the active agents in the next turn by determining which agents have an activation greater than threshold in the turn state
|
Computes the (possibly cached) change in turn due to the specified actions |
|
|
|
Generates all possible joint actions out of the given agents
|
Computes the change in turn due to the specified actions
|
Applies provided turn changes
|
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Aug 19 16:47:43 2009 | http://epydoc.sourceforge.net |