Trees | Indices | Help |
---|
|
Implements a coordinated patrol strategy. Given points of interest, each agent runs heuristicDivide(), assign ships to locations, and transmits it. Agents vote and decide on suggestion, move to their initial locations, and start patroling.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
map[shipIndex] = shipStartingState |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
TRANSMIT_INITIAL_LOCATION = 1
|
|||
COMPUTE_PATROL_ASSIGNMENTS_AND_TRANSMIT = 2
|
|||
VOTE = 3
|
|||
MOVING_TO_START = 4
|
|||
PATROLING = 5
|
|
Initializes the strategy.
|
Given the (inferred) state of the world, decide on a set of actions.
|
Reads incoming msgs from the agentWorldModel and clean its queue
|
Implements a matching algorithm
|
Processes a msg that notifies ships to start patrol
|
Processes a msg that notifies other ship's position
|
Processes a msg that notifies other ship's patrol suggestion
|
Processes a msg that notifies some ship reached its start pos
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Nov 14 13:01:26 2013 | http://epydoc.sourceforge.net |