Module agents :: Class AgentStrategy
[hide private]
[frames] | no frames]

Class AgentStrategy

source code


An interface for specific decision making strategy. It should be defined for a given AgentWorldModel, a given set of legal actions, and a given decision making algorithm.

For each step, the flow is: AgentWorldModel --> Specific_AgentStrategy --> Actions-to-execute

Instance Methods [hide private]
 
__init__(self) source code
 
composeAction(self, agentWorldModel)
Given the (inferred) state of the world, decide on a set of actions.
source code
 
getOutgoingMessage(self) source code
 
transmit(self, msg) source code