Package repast.simphony.engine.graph
Interface GraphExecutor<E>
-
- All Superinterfaces:
Executor<GraphParams<E>>
- All Known Implementing Classes:
AbstractGraphExecutor
,NetworkTopologyExecutor
public interface GraphExecutor<E> extends Executor<GraphParams<E>>
Interface for objects that will perform execution on a graph. Objects that implement this interface should handle scheduling themselves, executing nodes (and verifying they should be executed). To traverse the graph the GraphExecutor should use aTraverser
.- Version:
- $Revision: 1.1 $ $Date: 2005/12/21 22:25:34 $
- Author:
- Jerry Vos
- See Also:
NetworkTopologyExecutor
,Traverser
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
validateForExecution(GraphParams<E> params)
Validates that the parameters given say the current node should be executed.
-
-
-
Method Detail
-
validateForExecution
boolean validateForExecution(GraphParams<E> params)
Validates that the parameters given say the current node should be executed. An example of when they may not want to be executed is when a link (edge) no longer exists between two nodes.- Parameters:
params
- parameters on the current node to be executed- Returns:
- true if the current node should be executed, false otherwise
-
-