|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg._3pq.jgrapht.graph.AbstractGraph
org._3pq.jgrapht.graph.GraphDelegator
org._3pq.jgrapht.graph.DefaultListenableGraph
org._3pq.jgrapht.graph.ListenableDirectedGraph
edu.iastate.metnet.graphmodel.PathwayModel
public class PathwayModel
special graph model, which only add interaction nodes, and automatically add entitywithlocation nodes and edges related to these nodes
| Field Summary | |
|---|---|
(package private) static org.apache.log4j.Logger |
logger
log4j facility |
protected MetnetPathway |
pathway
current pathway object |
| Constructor Summary | |
|---|---|
PathwayModel(org._3pq.jgrapht.DirectedGraph network,
java.util.Map typeMap)
construct the model based on the networks |
|
PathwayModel(org._3pq.jgrapht.DirectedGraph network,
java.util.Map dataMap,
org.apache.commons.collections.map.MultiKeyMap coefficientMap)
create a pathway model from network |
|
PathwayModel(java.util.Map pathwayMap)
set up the mixture of the pathway based on the ID |
|
| Method Summary | |
|---|---|
void |
applyProcessor(IGraphProcessor graphProcessor)
general method for post-modification on the graph data model |
java.util.Map |
getBlockunitMap(java.util.Collection blockIdList)
|
org.apache.commons.collections.map.MultiKeyMap |
getBridgeMap()
|
org.apache.commons.collections.map.MultiKeyMap |
getCoeffMap()
|
java.util.Map |
getLocalPathwayMap()
|
org.apache.commons.collections.MultiMap |
getMbidPbidMap()
get the relation among all member blockid and pathway blockid mapping relation |
java.util.ArrayList |
getPbidMembership(java.lang.Integer mbid)
detect the membership of pathway |
int |
size()
return the number of pathway in this model |
| 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 |
|---|
static org.apache.log4j.Logger logger
protected MetnetPathway pathway
| Constructor Detail |
|---|
public PathwayModel(org._3pq.jgrapht.DirectedGraph network,
java.util.Map typeMap)
network - the network containing only the blockid
public PathwayModel(org._3pq.jgrapht.DirectedGraph network,
java.util.Map dataMap,
org.apache.commons.collections.map.MultiKeyMap coefficientMap)
network - the network, containing sequence IDdataMap - the data map from sequence ID to BlockUnitdummy - the dummy param to distinguish another constructorpublic PathwayModel(java.util.Map pathwayMap)
pathwayMap - pathway list| Method Detail |
|---|
public void applyProcessor(IGraphProcessor graphProcessor)
graphProcessor - the post-modification processorpublic int size()
public org.apache.commons.collections.MultiMap getMbidPbidMap()
public java.util.ArrayList getPbidMembership(java.lang.Integer mbid)
mbid - the member element's blockid
public java.util.Map getLocalPathwayMap()
public java.util.Map getBlockunitMap(java.util.Collection blockIdList)
public org.apache.commons.collections.map.MultiKeyMap getBridgeMap()
public org.apache.commons.collections.map.MultiKeyMap getCoeffMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||