|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PathwayGraph
| Method Summary | |
|---|---|
void |
addEdge(java.lang.Integer leftId,
java.lang.Integer rightId)
add an edge |
void |
addNode(PathwayElementNode node)
add an element |
java.util.Map |
getAllEbidEidMap()
get the entity blockid->entityid mapping for comparison |
java.util.List |
getAllEbidList()
get all entity node bid list |
java.util.List |
getAllIbidList()
get all interaction node bid list |
java.util.Set |
getContext(java.lang.Integer ibid)
get all entity id around the interaction in specified steps |
java.util.List |
getDownstreamEntityNodeIdList(java.lang.Integer blockId)
get the downstream entity node id list |
java.util.List |
getDownstreamInteractionNodeIdList(java.lang.Integer blockId)
get the downstream interaction node id list |
java.util.List |
getDownstreamNodeIdList(java.lang.Integer blockId)
get the list of new version record |
PathwayElementNode |
getNode(java.lang.Integer nodeId)
return a node by id |
java.util.Map |
getNodeMap()
|
java.util.Set |
getPbidSet()
|
InteractionStructure |
getSignature(java.lang.Integer ibid)
generate the signature of an interaction based on the entityid, the format is (left entity id 1, left entity id 2, ...; right id 1, right id 2, ...) without any space. |
java.util.List |
getUpstreamEntityNodeIdList(java.lang.Integer blockId)
get the upstream entity node id list |
java.util.List |
getUpstreamInteractionNodeIdList(java.lang.Integer blockId)
get the upstream interaction node id list |
java.util.List |
getUpstreamNodeIdList(java.lang.Integer blockId)
get the list of old version record |
boolean |
isControlInteraction(java.lang.Integer blockId)
if this is a control interaction |
boolean |
isEntitywithlocation(java.lang.Integer blockId)
if it is an entitywithlocation |
boolean |
isInteraction(java.lang.Integer blockId)
if it is an interaction |
boolean |
isNormalInteraction(java.lang.Integer blockId)
if it is a normal interaction |
PathwayAlignment |
isomorphism(PathwayGraph graph,
AlignmentAlgorithm algorithm)
run isomorphism |
void |
removeNode(java.lang.Integer nodeId)
remove a node from the pathway structure |
| Method Detail |
|---|
void addNode(PathwayElementNode node)
node - the structure node informationPathwayElementNode getNode(java.lang.Integer nodeId)
nodeId - the blockid of the node
void removeNode(java.lang.Integer nodeId)
nodeId - the node id of the pathway element
boolean isEntitywithlocation(java.lang.Integer blockId)
throws NoSuchNodeException
blockId - the blockid of the entitywithlocation
NoSuchNodeException - the node id does not exist
boolean isInteraction(java.lang.Integer blockId)
throws NoSuchNodeException
blockId - the blockid of the node
NoSuchNodeException - the node id does not exist
boolean isNormalInteraction(java.lang.Integer blockId)
throws NoSuchNodeException
blockId - the blockid of the node
NoSuchNodeException - the node id does not exist
boolean isControlInteraction(java.lang.Integer blockId)
throws NoSuchNodeException
blockId - the blockid of current node
NoSuchNodeException - the node id does not existjava.util.List getDownstreamNodeIdList(java.lang.Integer blockId)
blockId - the record id to be query
java.util.List getUpstreamNodeIdList(java.lang.Integer blockId)
blockId - the recordid to be query
java.util.List getUpstreamEntityNodeIdList(java.lang.Integer blockId)
blockId - the current node id
java.util.List getDownstreamEntityNodeIdList(java.lang.Integer blockId)
blockId - the current node id
java.util.List getUpstreamInteractionNodeIdList(java.lang.Integer blockId)
blockId - the current node id
java.util.List getDownstreamInteractionNodeIdList(java.lang.Integer blockId)
blockId - the current node id
void addEdge(java.lang.Integer leftId,
java.lang.Integer rightId)
throws NoSuchNodeException
leftId - the left node idrightId - the right node id
NoSuchNodeException - exception if one of nodes does not existjava.util.Map getNodeMap()
PathwayAlignment isomorphism(PathwayGraph graph,
AlignmentAlgorithm algorithm)
graph - the other pathway graphalgorithm - the alignment algorithm
java.util.List getAllEbidList()
java.util.List getAllIbidList()
java.util.Map getAllEbidEidMap()
InteractionStructure getSignature(java.lang.Integer ibid)
ibid - the interaction blockid
java.util.Set getPbidSet()
java.util.Set getContext(java.lang.Integer ibid)
ibid - the blockid of the interaction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||