|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.util.AbstractMap
|
+--java.util.HashMap
|
+--uk.ac.ebi.intact.simpleGraph.BasicGraph
|
+--uk.ac.ebi.intact.simpleGraph.Graph
|
+--uk.ac.ebi.intact.application.hierarchView.business.graph.InteractionNetwork
| Nested Class Summary |
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Field Summary | |
static int |
DEFAULT_MAX_CENTRAL_PROTEIN
|
| Constructor Summary | |
InteractionNetwork(Interactor aCentralProtein)
Constructor |
|
| Method Summary | |
void |
addCentralProtein(Node node)
|
void |
addCriteria(CriteriaBean aCriteria)
Add a new criteria to the interaction network |
Node |
addNode(Interactor anInteractor)
add the initialization part to the super class method |
java.lang.String |
exportBioLayout()
Create a String giving informations for the bioLayout EMBL software the informations are just pairwise of protein label. |
java.lang.String |
exportTlp()
Create a String giving informations for the Tulip treatment the informations are : - the number of nodes, - the whole of the edges and nodes associeted for each edge, - the label of each node. |
void |
fusion(InteractionNetwork network)
Fusion a interaction network to the current one. For each edge of the new network we check if it exists in the current one. If the edge already exists : continue. If not, we check if the two Nodes of the edge already exists in the current network : if the node exists, update the edge with its reference if not add it to the current network finally we add the up-to-date edge to the current network |
java.util.ArrayList |
getCentralInteractors()
|
Interactor |
getCentralProtein()
|
java.lang.String |
getCentralProteinAC()
|
java.util.ArrayList |
getCentralProteins()
|
java.util.ArrayList |
getCriteria()
|
int |
getCurrentCentralProteinCount()
|
ImageDimension |
getImageDimension()
Return the object ImageDimension which correspond to the graph |
static int |
getMaxCentralProtein()
|
java.util.ArrayList |
getOrderedNodes()
return a list of nodes ordered |
java.lang.String[] |
importDataToImage(java.lang.String dataTlp)
Send a String to Tulip to calculate coordinates Enter the obtained coordinates in the graph. |
void |
init()
Initialization of the interaction network Record the nodes in a list which allows to keep an order ... |
void |
initNodeDisplay(NodeI aNode)
initialisation of one Node about its color, its visible attribute |
void |
initNodes()
Allow to put the default color and default visibility for each protein of the interaction network |
void |
resetCriteria()
remove all existing criteria from the interaction network |
int |
sizeEdges()
Return the number of edge |
int |
sizeNodes()
Return the number of node |
| Methods inherited from class uk.ac.ebi.intact.simpleGraph.Graph |
addEdge, addNode, addVisited, getEdges, getNodes, isVisited, toString |
| Methods inherited from class uk.ac.ebi.intact.simpleGraph.BasicGraph |
getId, getLabel, setId, setLabel |
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
equals, hashCode |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface uk.ac.ebi.intact.simpleGraph.BasicGraphI |
getId, getLabel, setId, setLabel |
| Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Field Detail |
public static final int DEFAULT_MAX_CENTRAL_PROTEIN
| Constructor Detail |
public InteractionNetwork(Interactor aCentralProtein)
| Method Detail |
public static int getMaxCentralProtein()
public int getCurrentCentralProteinCount()
public java.lang.String getCentralProteinAC()
public Interactor getCentralProtein()
public void addCentralProtein(Node node)
public java.util.ArrayList getCentralProteins()
public java.util.ArrayList getCentralInteractors()
public java.util.ArrayList getCriteria()
public void addCriteria(CriteriaBean aCriteria)
aCriteria - the criteria to add if it doesn't exist in the collection alreadypublic void resetCriteria()
public void init()
public Node addNode(Interactor anInteractor)
addNode in interface GraphIaddNode in class GraphanInteractor - the interactor to add in the graph
public java.util.ArrayList getOrderedNodes()
public void initNodes()
public void initNodeDisplay(NodeI aNode)
aNode - the node to updatepublic int sizeNodes()
public int sizeEdges()
public ImageDimension getImageDimension()
public java.lang.String exportTlp()
public java.lang.String exportBioLayout()
public java.lang.String[] importDataToImage(java.lang.String dataTlp)
throws java.rmi.RemoteException
dataTlp - The obtained String by the exportTlp() method
java.rmi.RemoteExceptionpublic void fusion(InteractionNetwork network)
if the node exists, update the edge with its referencefinally we add the up-to-date edge to the current network
if not add it to the current network
network - the interaction network we want to fusioned to the current one.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||