Package | Description |
---|---|
massim.competition2011.scenario |
Modifier and Type | Method and Description |
---|---|
static void |
DominationCalculator.calculate(GraphSimulationWorldState world) |
protected static void |
DominationCalculator.calculateBasicNodeDomination(GraphNode node,
GraphSimulationWorldState world) |
protected static String |
DominationCalculator.calculateDominatorFromNeighbours(GraphNode node,
GraphSimulationWorldState world) |
protected static void |
ActionExecutor.clearFlags(GraphSimulationWorldState world)
Clears the information about the actions executed in the previous step.
|
static void |
ActionExecutor.execute(GraphSimulationWorldState world)
Executes the actions of all agents.
|
protected static void |
ActionExecutor.executeAttacksAndParrys(GraphSimulationWorldState world)
Executes all the
attack actions simultaneously, meaning that all
the costs calculations to corroborate that an attack can actually be performed, are made
before updating the internal states of the attacked agents. |
protected static void |
ActionExecutor.executeRest(GraphSimulationWorldState world)
Executes the rest of the actions (excluding attacks) in a random order.
|
protected static boolean |
ActionExecutor.validAttack(GraphSimulationAgentState agent,
GraphSimulationAgentState victim,
GraphSimulationWorldState world)
Returns true iff the victim is in the same node of the attacker.
|
Copyright © 2013. All Rights Reserved.