|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ascape.model.engine.ExecutionStrategy org.ascape.model.engine.IncrementalExecutionStrategy org.ascape.model.engine.ParallelExecutionStrategy org.ascape.model.engine.AgentOrderStrategy
public class AgentOrderStrategy
The Class AgentOrderStrategy.
Constructor Summary | |
---|---|
AgentOrderStrategy(StrategyFactory factory)
Instantiates a new agent order strategy. |
Method Summary | |
---|---|
boolean |
hasNext()
Checks for next. |
boolean |
hasNextParallel()
Checks for next parallel. |
void |
increment()
Increment. |
boolean |
isSupportsParallel()
Checks if is supports parallel. |
void |
nextParallelSequence()
Next parallel sequence. |
void |
reset()
Reset. |
Methods inherited from class org.ascape.model.engine.ParallelExecutionStrategy |
---|
execute, executeParallel, incrementParallel |
Methods inherited from class org.ascape.model.engine.IncrementalExecutionStrategy |
---|
clone, fire, getAgentIterator, getAgentSelector, getCurrentAgent, getCurrentRule, getRules, getRuleSelector, getScape, setAgentIterator, setAgentSelector, setRuleSelector |
Methods inherited from class org.ascape.model.engine.ExecutionStrategy |
---|
chain |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgentOrderStrategy(StrategyFactory factory)
factory
- the factoryMethod Detail |
---|
public boolean hasNext()
IncrementalExecutionStrategy
hasNext
in class IncrementalExecutionStrategy
public final boolean hasNextParallel()
ParallelExecutionStrategy
hasNextParallel
in class ParallelExecutionStrategy
public void nextParallelSequence()
ParallelExecutionStrategy
nextParallelSequence
in class ParallelExecutionStrategy
public final void increment()
IncrementalExecutionStrategy
increment
in class IncrementalExecutionStrategy
public void reset()
ExecutionStrategy
reset
in class IncrementalExecutionStrategy
public boolean isSupportsParallel()
ExecutionStrategy
isSupportsParallel
in class ExecutionStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |