edu.iastate.metnet.graphmodel
Interface IGraphProcessor

All Known Implementing Classes:
AbstractGraphProcessor, AdjacencyGraphWalker, GlobalGraphWalker, GraphWalker, RemoveBridgeNodes, RemoveCompositionNodes, RemoveSelectedNodes

public interface IGraphProcessor

change the graph struture, while IGraphMetaphor only change the graph attribute

Author:
Jie Li

Method Summary
 void run(MultiPathwayModel graph)
          although it is a part of interface, we do not mandatory require the class implements them, so use abstract class hide these requirements.
 void run(PathwayModel graph)
          although it is a part of interface, we do not mandatory require the class implements them, so use abstract class hide these requirements.
 

Method Detail

run

void run(PathwayModel graph)
although it is a part of interface, we do not mandatory require the class implements them, so use abstract class hide these requirements. Only remove-bridge-node need both of them

Parameters:
graph - the model

run

void run(MultiPathwayModel graph)
although it is a part of interface, we do not mandatory require the class implements them, so use abstract class hide these requirements. Only remove-bridge-node need both of them. Since the graph data structure is stored in the model and the model itself is used for visualization, we allow the model is modified or processed but the graph data structure is still untouched for trace purpose.

Parameters:
graph - the model