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 a Traverser.

Version:
$Revision: 1.1 $ $Date: 2005/12/21 22:25:34 $
Author:
Jerry Vos
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Validates that the parameters given say the current node should be executed.

    Methods inherited from interface repast.simphony.engine.graph.Executor

    execute
  • Method Details

    • 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