edu.iastate.metnet.graphmodel
Class MultiPathwayModel

java.lang.Object
  extended by org._3pq.jgrapht.graph.AbstractGraph
      extended by org._3pq.jgrapht.graph.GraphDelegator
          extended by org._3pq.jgrapht.graph.DefaultListenableGraph
              extended by org._3pq.jgrapht.graph.ListenableDirectedGraph
                  extended by edu.iastate.metnet.graphmodel.MultiPathwayModel
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org._3pq.jgrapht.DirectedGraph, org._3pq.jgrapht.Graph, org._3pq.jgrapht.ListenableGraph

public class MultiPathwayModel
extends org._3pq.jgrapht.graph.ListenableDirectedGraph

this pathway model is used for displaying combination of multiple pathway. Thus in each graph node, there are more than one entitywithlocation or one interaction nodes. We also need special node class to hold the multi-pathway element node instances

Author:
Jie Li
See Also:
Serialized Form

Field Summary
(package private)  MultiPathwayGraph localGraph
          local copy of model of model
(package private)  java.util.Map localPathwayMap
          local copy of all pathway selection
(package private) static org.apache.log4j.Logger logger
          log4j facility
 
Constructor Summary
MultiPathwayModel()
          default constructor
MultiPathwayModel(java.util.Map pathwayMap)
          construct the multiple pathway model based on the pathway map
 
Method Summary
 void applyProcessor(IGraphProcessor graphProcessor)
          general method for post-modification on the graph data model
 MultiPathwayGraph getLocalGraph()
          return the local multi-pathway graph.
 
Methods inherited from class org._3pq.jgrapht.graph.DefaultListenableGraph
addEdge, addEdge, addGraphListener, addVertex, addVertexSetListener, clone, fireEdgeAdded, fireEdgeRemoved, fireVertexAdded, fireVertexRemoved, isReuseEvents, removeEdge, removeEdge, removeGraphListener, removeVertex, removeVertexSetListener, setReuseEvents
 
Methods inherited from class org._3pq.jgrapht.graph.GraphDelegator
containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, toString, vertexSet
 
Methods inherited from class org._3pq.jgrapht.graph.AbstractGraph
addAllEdges, addAllVertices, assertVertexExist, containsEdge, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toStringFromSets
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org._3pq.jgrapht.DirectedGraph
incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf
 
Methods inherited from interface org._3pq.jgrapht.Graph
addAllEdges, addAllVertices, addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet
 

Field Detail

logger

static org.apache.log4j.Logger logger
log4j facility


localPathwayMap

java.util.Map localPathwayMap
local copy of all pathway selection


localGraph

MultiPathwayGraph localGraph
local copy of model of model

Constructor Detail

MultiPathwayModel

public MultiPathwayModel()
default constructor


MultiPathwayModel

public MultiPathwayModel(java.util.Map pathwayMap)
construct the multiple pathway model based on the pathway map

Parameters:
pathwayMap - the map of pathway blockid and name
Method Detail

getLocalGraph

public MultiPathwayGraph getLocalGraph()
return the local multi-pathway graph. Notice that it is totally a local copy, not corresponding to any element node in the display

Returns:
Returns the localGraph.

applyProcessor

public void applyProcessor(IGraphProcessor graphProcessor)
general method for post-modification on the graph data model

Parameters:
graphProcessor - the post-modification processor