Package repast.simphony.engine.graph
Interface GraphExecutor<E>
- All Superinterfaces:
Executor<GraphParams<E>>
- All Known Implementing Classes:
AbstractGraphExecutor
,NetworkTopologyExecutor
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 a
Traverser
.- Version:
- $Revision: 1.1 $ $Date: 2005/12/21 22:25:34 $
- Author:
- Jerry Vos
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
validateForExecution
(GraphParams<E> params) Validates that the parameters given say the current node should be executed.
-
Method Details
-
validateForExecution
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
-