|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ascape.model.engine.ExecutionStrategy
org.ascape.model.engine.IncrementalExecutionStrategy
public abstract class IncrementalExecutionStrategy
The Class IncrementalExecutionStrategy.
| Constructor Summary | |
|---|---|
IncrementalExecutionStrategy(StrategyFactory factory)
Instantiates a new incremental execution strategy. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
void |
execute()
Execute. |
void |
fire()
Fire. |
ResetableIterator |
getAgentIterator()
Gets the agent iterator. |
AgentSelector |
getAgentSelector()
Gets the agent selector. |
Agent |
getCurrentAgent()
Gets the current agent. |
Rule |
getCurrentRule()
Gets the current rule. |
java.lang.Object[] |
getRules()
Gets the rules. |
RuleSelector |
getRuleSelector()
Gets the rule selector. |
Scape |
getScape()
Gets the scape. |
abstract boolean |
hasNext()
Checks for next. |
abstract void |
increment()
Increment. |
void |
reset()
Reset. |
void |
setAgentIterator(ResetableIterator agentIterator)
Sets the agent iterator. |
void |
setAgentSelector(AgentSelector agentSelector)
Sets the agent selector. |
void |
setRuleSelector(RuleSelector ruleSelector)
Sets the rule selector. |
| Methods inherited from class org.ascape.model.engine.ExecutionStrategy |
|---|
chain, isSupportsParallel |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IncrementalExecutionStrategy(StrategyFactory factory)
factory - the factory| Method Detail |
|---|
public void execute()
ExecutionStrategy
execute in class ExecutionStrategypublic void fire()
public void reset()
ExecutionStrategy
reset in class ExecutionStrategypublic Agent getCurrentAgent()
public Rule getCurrentRule()
public abstract boolean hasNext()
public abstract void increment()
public ResetableIterator getAgentIterator()
public void setAgentIterator(ResetableIterator agentIterator)
agentIterator - the new agent iteratorpublic final java.lang.Object[] getRules()
public AgentSelector getAgentSelector()
public RuleSelector getRuleSelector()
public void setAgentSelector(AgentSelector agentSelector)
agentSelector - the new agent selectorpublic void setRuleSelector(RuleSelector ruleSelector)
ruleSelector - the new rule selectorpublic final Scape getScape()
public java.lang.Object clone()
clone in class ExecutionStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||