|
Cytoscape 2.8.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfing.model.FingExtensibleGraphPerspective
cytoscape.giny.FingCyNetwork
public class FingCyNetwork
FinhCyNetwork provides an implementation of the CyNetwork interface, as well as the GraphPerspective inteface, and also provides the functionality formally provided by GraphObjAttributes. The Network will notify listeners when nodes/edges are added/removed and when relavant data changes.
| Field Summary | |
|---|---|
protected Map |
clientData
The ClientData map |
protected Set |
listeners
The Network Listeners Set |
protected SelectFilter |
selectFilter
The default object to set the selected state of nodes and edges |
protected String |
title
|
| Fields inherited from interface cytoscape.graph.fixed.FixedGraph |
|---|
DIRECTED_EDGE, UNDIRECTED_EDGE |
| Constructor Summary | |
|---|---|
FingCyNetwork(FingExtensibleRootGraph root,
IntIterator rootGraphNodeInx,
IntIterator rootGraphEdgeInx)
rootGraphNodeInx need not contain all endpoint nodes corresponding to edges in rootGraphEdgeInx - this is calculated automatically by this constructor. |
|
| Method Summary | |
|---|---|
void |
addCyNetworkListener(CyNetworkListener listener)
Registers the argument as a listener to this object. |
CyEdge |
addEdge(Edge cytoscape_edge)
Add a edge to this Network that already exists in Cytoscape |
int |
addEdge(int cytoscape_edge)
Add a edge to this Network that already exists in Cytoscape |
int |
addEdge(String attribute,
Object value)
Adds a edge to this Network, by looking it up via the given attribute and value |
void |
addGraphPerspectiveChangeListener(GraphPerspectiveChangeListener listener)
DOCUMENT ME! |
int |
addNode(int cytoscape_node)
Add a node to this Network that already exists in Cytoscape |
CyNode |
addNode(Node cytoscape_node)
Add a node to this Network that already exists in Cytoscape |
int |
addNode(String attribute,
Object value)
Adds a node to this Network, by looking it up via the given attribute and value |
void |
addSelectEventListener(SelectEventListener listener)
Adds a listener for SelectEvents to this CyNetwork |
void |
appendNetwork(CyNetwork network)
Appends all of the nodes and edges in teh given Network to this Network |
Object |
clone()
DOCUMENT ME! |
boolean |
containsEdge(Edge edge)
DOCUMENT ME! |
boolean |
containsEdge(Edge edge,
boolean recurse)
DOCUMENT ME! |
boolean |
containsNode(Node node)
DOCUMENT ME! |
boolean |
containsNode(Node node,
boolean recurse)
DOCUMENT ME! |
int |
createEdge(int source,
int target,
boolean directed)
This method will create a new edge. |
GraphPerspective |
createGraphPerspective(Filter filter)
DOCUMENT ME! |
GraphPerspective |
createGraphPerspective(int[] nodeInx)
DOCUMENT ME! |
GraphPerspective |
createGraphPerspective(int[] rootGraphNodeInx,
int[] rootGraphEdgeInx)
DOCUMENT ME! |
GraphPerspective |
createGraphPerspective(Node[] nodes,
Edge[] edges)
DOCUMENT ME! |
int |
createNode()
This method will create a new node. |
void |
deleteEdgeAttribute(String attribute)
Deletes the attribute with the given name from edge attributes |
void |
deleteNodeAttribute(String attribute)
Deletes the attribute with the given name from node attributes |
boolean |
edgeExists(int fromNodeInx,
int toNodeInx)
DOCUMENT ME! |
boolean |
edgeExists(Node from,
Node to)
DOCUMENT ME! |
List |
edgeMetaChildrenList(int parentNodeInx)
DOCUMENT ME! |
List |
edgeMetaChildrenList(Node node)
DOCUMENT ME! |
List |
edgeMetaParentsList(int edgeInx)
DOCUMENT ME! |
IntEnumerator |
edges()
DOCUMENT ME! |
IntEnumerator |
edgesAdjacent(int node,
boolean outgoing,
boolean incoming,
boolean undirected)
DOCUMENT ME! |
IntIterator |
edgesConnecting(int node0,
int node1,
boolean outgoing,
boolean incoming,
boolean undirected)
DOCUMENT ME! |
Iterator |
edgesIterator()
DOCUMENT ME! |
List |
edgesList()
DOCUMENT ME! |
List |
edgesList(int fromNodeInx,
int toNodeInx,
boolean includeUndirectedEdges)
DOCUMENT ME! |
List |
edgesList(Node from,
Node to)
DOCUMENT ME! |
int |
edgeSource(int edge)
DOCUMENT ME! |
int |
edgeTarget(int edge)
DOCUMENT ME! |
byte |
edgeType(int edge)
DOCUMENT ME! |
void |
finalize()
DOCUMENT ME! |
protected void |
fireEvent(int type)
Fires an event to all listeners registered with this object. |
int[] |
getAdjacentEdgeIndicesArray(int nodeInx,
boolean undirected,
boolean incomingDirected,
boolean outgoingDirected)
DOCUMENT ME! |
List |
getAdjacentEdgesList(Node node,
boolean undirected,
boolean incoming,
boolean outgoing)
DOCUMENT ME! |
Object |
getClientData(String data_name)
Deprecated. Get Some client data |
Collection |
getClientDataNames()
Deprecated. Get a list of all currently available ClientData objects |
int[] |
getConnectingEdgeIndicesArray(int[] nodeInx)
DOCUMENT ME! |
List |
getConnectingEdges(List nodes)
DOCUMENT ME! |
int[] |
getConnectingNodeIndicesArray(int[] edgeInx)
DOCUMENT ME! |
Set |
getCyNetworkListeners()
Returns the set of listeners registered with this object. |
int |
getDegree(int nodeInx)
DOCUMENT ME! |
int |
getDegree(Node node)
DOCUMENT ME! |
Edge |
getEdge(int rootGraphEdgeInx)
DOCUMENT ME! |
String[] |
getEdgeAttributesList()
Return all availble Attributes for the Edges in this CyNetwork |
Object |
getEdgeAttributeValue(Edge edge,
String attribute)
Return the requested Attribute for the given Edge |
Object |
getEdgeAttributeValue(int edge,
String attribute)
Return the requested Attribute for the given Edge |
int |
getEdgeCount()
DOCUMENT ME! |
int |
getEdgeCount(int fromNodeInx,
int toNodeInx,
boolean countUndirectedEdges)
DOCUMENT ME! |
int |
getEdgeCount(Node from,
Node to,
boolean countUndirectedEdges)
DOCUMENT ME! |
int |
getEdgeIndex(int rootGraphEdgeInx)
DOCUMENT ME! |
int[] |
getEdgeIndicesArray()
DOCUMENT ME! |
int[] |
getEdgeIndicesArray(int fromNodeInx,
int toNodeInx,
boolean includeUndirectedEdges)
DOCUMENT ME! |
int[] |
getEdgeIndicesArray(int rootGraphFromNodeInx,
int rootGraphToNodeInx,
boolean undirectedEdges,
boolean bothDirections)
DOCUMENT ME! |
int[] |
getEdgeMetaChildIndicesArray(int parentNodeInx)
DOCUMENT ME! |
int[] |
getEdgeMetaParentIndicesArray(int edgeInx)
DOCUMENT ME! |
int |
getEdgeSourceIndex(int edgeInx)
DOCUMENT ME! |
int |
getEdgeTargetIndex(int edgeInx)
DOCUMENT ME! |
String |
getIdentifier()
DOCUMENT ME! |
int |
getInDegree(int nodeInx)
DOCUMENT ME! |
int |
getInDegree(int nodeInx,
boolean countUndirectedEdges)
DOCUMENT ME! |
int |
getInDegree(Node node)
DOCUMENT ME! |
int |
getInDegree(Node node,
boolean countUndirectedEdges)
DOCUMENT ME! |
int |
getIndex(Edge edge)
DOCUMENT ME! |
int |
getIndex(Node node)
DOCUMENT ME! |
Node |
getNode(int rootGraphNodeInx)
DOCUMENT ME! |
String[] |
getNodeAttributesList()
Return all availble Attributes for the Nodes in this CyNetwork |
String[] |
getNodeAttributesList(Edge[] edges)
Return all available Attributes for the given Edges |
String[] |
getNodeAttributesList(Node[] nodes)
Return all available Attributes for the given Nodes |
Object |
getNodeAttributeValue(int node,
String attribute)
Return the requested Attribute for the given Node |
Object |
getNodeAttributeValue(Node node,
String attribute)
Return the requested Attribute for the given Node |
int |
getNodeCount()
DOCUMENT ME! |
int |
getNodeIndex(int rootGraphNodeInx)
DOCUMENT ME! |
int[] |
getNodeIndicesArray()
DOCUMENT ME! |
int[] |
getNodeMetaChildIndicesArray(int parentInx)
DOCUMENT ME! |
int[] |
getNodeMetaParentIndicesArray(int nodeInx)
DOCUMENT ME! |
int |
getOutDegree(int nodeInx)
DOCUMENT ME! |
int |
getOutDegree(int nodeInx,
boolean countUndirectedEdges)
DOCUMENT ME! |
int |
getOutDegree(Node node)
DOCUMENT ME! |
int |
getOutDegree(Node node,
boolean countUndirectedEdges)
DOCUMENT ME! |
RootGraph |
getRootGraph()
DOCUMENT ME! |
int |
getRootGraphEdgeIndex(int rootGraphEdgeInx)
DOCUMENT ME! |
int |
getRootGraphNodeIndex(int rootGraphNodeInx)
DOCUMENT ME! |
Set |
getSelectedEdges()
Returns the set of selected edges in this CyNetwork |
Set |
getSelectedNodes()
Returns the set of selected nodes in this CyNetwork |
SelectFilter |
getSelectFilter()
|
String |
getTitle()
Can Change |
Edge |
hideEdge(Edge edge)
DOCUMENT ME! |
int |
hideEdge(int rootGraphEdgeInx)
DOCUMENT ME! |
int[] |
hideEdges(int[] rootGraphEdgeInx)
DOCUMENT ME! |
List |
hideEdges(List edges)
DOCUMENT ME! |
int |
hideNode(int rootGraphNodeInx)
DOCUMENT ME! |
Node |
hideNode(Node node)
DOCUMENT ME! |
int[] |
hideNodes(int[] rootGraphNodeInx)
DOCUMENT ME! |
List |
hideNodes(List nodes)
DOCUMENT ME! |
protected void |
initialize()
|
boolean |
isEdgeDirected(int edgeInx)
DOCUMENT ME! |
boolean |
isEdgeMetaChild(int parentNodeInx,
int childEdgeInx)
DOCUMENT ME! |
boolean |
isEdgeMetaParent(int childEdgeInx,
int parentNodeInx)
DOCUMENT ME! |
boolean |
isMetaChild(Node parent,
Edge child)
DOCUMENT ME! |
boolean |
isMetaChild(Node parent,
Node child)
DOCUMENT ME! |
boolean |
isMetaParent(Edge child,
Node parent)
DOCUMENT ME! |
boolean |
isMetaParent(Node child,
Node parent)
DOCUMENT ME! |
boolean |
isNeighbor(int nodeInxA,
int nodeInxB)
DOCUMENT ME! |
boolean |
isNeighbor(Node a,
Node b)
DOCUMENT ME! |
boolean |
isNodeMetaChild(int parentNodeInx,
int childNodeInx)
DOCUMENT ME! |
boolean |
isNodeMetaParent(int childNodeInx,
int parentNodeInx)
DOCUMENT ME! |
boolean |
isSelected(Edge edge)
Returns the selected state of the given edge. |
boolean |
isSelected(Node node)
Returns the selected state of the given node. |
GraphPerspective |
join(GraphPerspective persp)
DOCUMENT ME! |
List |
metaParentsList(Edge edge)
DOCUMENT ME! |
List |
metaParentsList(Node node)
DOCUMENT ME! |
int[] |
neighborsArray(int nodeIndex)
DOCUMENT ME! |
List |
neighborsList(Node node)
DOCUMENT ME! |
boolean |
nodeExists(int node)
DOCUMENT ME! |
List |
nodeMetaChildrenList(int parentInx)
DOCUMENT ME! |
List |
nodeMetaChildrenList(Node node)
DOCUMENT ME! |
List |
nodeMetaParentsList(int nodeInx)
DOCUMENT ME! |
IntEnumerator |
nodes()
DOCUMENT ME! |
Iterator |
nodesIterator()
DOCUMENT ME! |
List |
nodesList()
DOCUMENT ME! |
void |
putClientData(String data_name,
Object data)
Deprecated. Networks can support client data. |
boolean |
removeCyNetworkListener(CyNetworkListener listener)
Removes the argument from the set of listeners for this object. |
boolean |
removeEdge(int edge_index,
boolean force)
This will remove this edge from the Network. |
void |
removeGraphPerspectiveChangeListener(GraphPerspectiveChangeListener listener)
DOCUMENT ME! |
boolean |
removeNode(int node_index,
boolean force)
This will remove this node from the Network. |
void |
removeSelectEventListener(SelectEventListener listener)
Removes a listener for SelectEvents from this CyNetwork |
Edge |
restoreEdge(Edge edge)
DOCUMENT ME! |
int |
restoreEdge(int rootGraphEdgeInx)
DOCUMENT ME! |
int[] |
restoreEdges(int[] rootGraphEdgeInx)
DOCUMENT ME! |
List |
restoreEdges(List edges)
DOCUMENT ME! |
int |
restoreNode(int rootGraphNodeInx)
DOCUMENT ME! |
Node |
restoreNode(Node node)
DOCUMENT ME! |
int[] |
restoreNodes(int[] rootGraphNodeInx)
DOCUMENT ME! |
int[] |
restoreNodes(int[] rootGraphNodeInx,
boolean restoreIncidentEdges)
DOCUMENT ME! |
List |
restoreNodes(List nodes)
DOCUMENT ME! |
List |
restoreNodes(List nodes,
boolean restoreIncidentEdges)
DOCUMENT ME! |
void |
selectAllEdges()
Sets the selected state of all edges in this CyNetwork to true |
void |
selectAllNodes()
Sets the selected state of all nodes in this CyNetwork to true |
boolean |
setEdgeAttributeValue(Edge edge,
String attribute,
Object value)
Return the requested Attribute for the given Edge |
boolean |
setEdgeAttributeValue(int edge,
String attribute,
Object value)
Return the requested Attribute for the given Edge |
String |
setIdentifier(String new_id)
DOCUMENT ME! |
boolean |
setNodeAttributeValue(int node,
String attribute,
Object value)
Return the requested Attribute for the given Node |
boolean |
setNodeAttributeValue(Node node,
String attribute,
Object value)
Return the requested Attribute for the given Node |
void |
setSelectedEdgeState(Collection edges,
boolean selected_state)
Sets the selected state of a collection of edges. |
void |
setSelectedEdgeState(Edge edge,
boolean selected_state)
Sets the selected state of an edge. |
void |
setSelectedNodeState(Collection nodes,
boolean selected_state)
Sets the selected state of a collection of nodes. |
void |
setSelectedNodeState(Node node,
boolean selected_state)
Sets the selected state of a node. |
void |
setTitle(String new_id)
Can Change Throws a PropertyChangeEvent if the title has changed with a CyNetworkTitleChange object that contains the network id and the name. |
void |
unselectAllEdges()
Sets the selected state of all edges in this CyNetwork to false |
void |
unselectAllNodes()
Sets the selected state of all nodes in this CyNetwork to false |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String title
protected Set listeners
protected Map clientData
protected final SelectFilter selectFilter
| Constructor Detail |
|---|
public FingCyNetwork(FingExtensibleRootGraph root,
IntIterator rootGraphNodeInx,
IntIterator rootGraphEdgeInx)
| Method Detail |
|---|
protected void initialize()
public String getTitle()
getTitle in interface CyNetworkpublic void setTitle(String new_id)
setTitle in interface CyNetworkpublic String getIdentifier()
getIdentifier in interface CyNetworkpublic String setIdentifier(String new_id)
setIdentifier in interface CyNetworknew_id - DOCUMENT ME!
public void putClientData(String data_name,
Object data)
CyNetwork
putClientData in interface CyNetworkdata_name - the name of this client datapublic Collection getClientDataNames()
CyNetwork
getClientDataNames in interface CyNetworkpublic Object getClientData(String data_name)
CyNetwork
getClientData in interface CyNetworkdata_name - the data to getpublic void appendNetwork(CyNetwork network)
appendNetwork in interface CyNetworkpublic void selectAllNodes()
selectAllNodes in interface CyNetworkpublic void selectAllEdges()
selectAllEdges in interface CyNetworkpublic void unselectAllNodes()
unselectAllNodes in interface CyNetworkpublic void unselectAllEdges()
unselectAllEdges in interface CyNetwork
public void setSelectedNodeState(Collection nodes,
boolean selected_state)
setSelectedNodeState in interface CyNetworknodes - a Collection of Nodesselected_state - the desired selection state for the nodes
public void setSelectedNodeState(Node node,
boolean selected_state)
setSelectedNodeState in interface CyNetworknodes - a Nodeselected_state - the desired selection state for the node
public void setSelectedEdgeState(Collection edges,
boolean selected_state)
setSelectedEdgeState in interface CyNetworkedges - a Collection of Edgesselected_state - the desired selection state for the edges
public void setSelectedEdgeState(Edge edge,
boolean selected_state)
setSelectedEdgeState in interface CyNetworkedges - an Edgeselected_state - the desired selection state for the edgepublic boolean isSelected(Node node)
isSelected in interface CyNetworknode - the node
public boolean isSelected(Edge edge)
isSelected in interface CyNetworkedge - the edge
public Set getSelectedNodes()
getSelectedNodes in interface CyNetworkpublic Set getSelectedEdges()
getSelectedEdges in interface CyNetworkpublic void addSelectEventListener(SelectEventListener listener)
addSelectEventListener in interface CyNetworklistener - public void removeSelectEventListener(SelectEventListener listener)
removeSelectEventListener in interface CyNetworklistener - public SelectFilter getSelectFilter()
getSelectFilter in interface CyNetwork
public Object getNodeAttributeValue(Node node,
String attribute)
node - the given CyNodeattribute - the name of the requested attribute
public Object getNodeAttributeValue(int node,
String attribute)
public Object getEdgeAttributeValue(Edge edge,
String attribute)
public Object getEdgeAttributeValue(int edge,
String attribute)
public String[] getNodeAttributesList()
public String[] getNodeAttributesList(Node[] nodes)
public String[] getEdgeAttributesList()
public String[] getNodeAttributesList(Edge[] edges)
public boolean setNodeAttributeValue(Node node,
String attribute,
Object value)
node - the given CyNodeattribute - the name of the requested attributevalue - the value to be set
public boolean setNodeAttributeValue(int node,
String attribute,
Object value)
public boolean setEdgeAttributeValue(Edge edge,
String attribute,
Object value)
public boolean setEdgeAttributeValue(int edge,
String attribute,
Object value)
public void deleteNodeAttribute(String attribute)
public void deleteEdgeAttribute(String attribute)
public void addCyNetworkListener(CyNetworkListener listener)
addCyNetworkListener in interface CyNetworkpublic boolean removeCyNetworkListener(CyNetworkListener listener)
removeCyNetworkListener in interface CyNetworkpublic Set getCyNetworkListeners()
getCyNetworkListeners in interface CyNetworkprotected void fireEvent(int type)
public int createNode()
public int addNode(int cytoscape_node)
addNode in interface CyNetworkpublic CyNode addNode(Node cytoscape_node)
addNode in interface CyNetwork
public int addNode(String attribute,
Object value)
public boolean removeNode(int node_index,
boolean force)
removeNode in interface CyNetworkforce - force this node to be removed from all Networks
public int createEdge(int source,
int target,
boolean directed)
source - the source nodetarget - the target nodedirected - weather the edge should be directed
public int addEdge(int cytoscape_edge)
addEdge in interface CyNetworkpublic CyEdge addEdge(Edge cytoscape_edge)
addEdge in interface CyNetwork
public int addEdge(String attribute,
Object value)
public boolean removeEdge(int edge_index,
boolean force)
removeEdge in interface CyNetworkforce - force this edge to be removed from all Networks
public IntEnumerator nodes()
nodes in interface FixedGraphpublic IntEnumerator edges()
edges in interface FixedGraphpublic boolean nodeExists(int node)
nodeExists in interface FixedGraphnode - DOCUMENT ME!
public byte edgeType(int edge)
edgeType in interface FixedGraphedge - DOCUMENT ME!
public int edgeSource(int edge)
edgeSource in interface FixedGraphedge - DOCUMENT ME!
public int edgeTarget(int edge)
edgeTarget in interface FixedGraphedge - DOCUMENT ME!
public IntEnumerator edgesAdjacent(int node,
boolean outgoing,
boolean incoming,
boolean undirected)
edgesAdjacent in interface FixedGraphnode - DOCUMENT ME!outgoing - DOCUMENT ME!incoming - DOCUMENT ME!undirected - DOCUMENT ME!
public IntIterator edgesConnecting(int node0,
int node1,
boolean outgoing,
boolean incoming,
boolean undirected)
edgesConnecting in interface FixedGraphnode0 - DOCUMENT ME!node1 - DOCUMENT ME!outgoing - DOCUMENT ME!incoming - DOCUMENT ME!undirected - DOCUMENT ME!
public void addGraphPerspectiveChangeListener(GraphPerspectiveChangeListener listener)
addGraphPerspectiveChangeListener in interface GraphPerspectivelistener - DOCUMENT ME!public void removeGraphPerspectiveChangeListener(GraphPerspectiveChangeListener listener)
removeGraphPerspectiveChangeListener in interface GraphPerspectivelistener - DOCUMENT ME!public Object clone()
clone in interface GraphPerspectiveclone in class Objectpublic RootGraph getRootGraph()
getRootGraph in interface GraphPerspectivepublic int getNodeCount()
getNodeCount in interface GraphPerspectivepublic int getEdgeCount()
getEdgeCount in interface GraphPerspectivepublic Iterator nodesIterator()
nodesIterator in interface GraphPerspectivepublic List nodesList()
nodesList in interface GraphPerspectiveGraphPerspective.nodesIterator()public int[] getNodeIndicesArray()
getNodeIndicesArray in interface GraphPerspectiveGraphPerspective.nodesIterator(),
GraphObject.getRootGraphIndex()public Iterator edgesIterator()
edgesIterator in interface GraphPerspectivepublic List edgesList()
edgesList in interface GraphPerspectiveGraphPerspective.edgesIterator()public int[] getEdgeIndicesArray()
getEdgeIndicesArray in interface GraphPerspectiveGraphPerspective.edgesIterator(),
GraphObject.getRootGraphIndex()
public int[] getEdgeIndicesArray(int rootGraphFromNodeInx,
int rootGraphToNodeInx,
boolean undirectedEdges,
boolean bothDirections)
getEdgeIndicesArray in interface GraphPerspectiverootGraphFromNodeInx - DOCUMENT ME!rootGraphToNodeInx - DOCUMENT ME!undirectedEdges - DOCUMENT ME!bothDirections - DOCUMENT ME!
GraphPerspective.getAdjacentEdgeIndicesArray(int, boolean, boolean, boolean)public Node hideNode(Node node)
hideNode in interface GraphPerspectivenode - DOCUMENT ME!
public int hideNode(int rootGraphNodeInx)
hideNode in interface GraphPerspectiverootGraphNodeInx - DOCUMENT ME!
public List hideNodes(List nodes)
hideNodes in interface GraphPerspectivenodes - DOCUMENT ME!
GraphPerspective.hideNode(Node),
GraphPerspective.hideNodes(int[])public int[] hideNodes(int[] rootGraphNodeInx)
hideNodes in interface GraphPerspectiverootGraphNodeInx - DOCUMENT ME!
public Node restoreNode(Node node)
restoreNode in interface GraphPerspectivenode - DOCUMENT ME!
public int restoreNode(int rootGraphNodeInx)
restoreNode in interface GraphPerspectiverootGraphNodeInx - DOCUMENT ME!
public List restoreNodes(List nodes)
restoreNodes in interface GraphPerspectivenodes - DOCUMENT ME!
GraphPerspective.restoreNode(Node),
GraphPerspective.restoreNodes(int[])
public List restoreNodes(List nodes,
boolean restoreIncidentEdges)
restoreNodes in interface GraphPerspectivenodes - DOCUMENT ME!restoreIncidentEdges - DOCUMENT ME!
GraphPerspective.restoreNodes(int[]),
GraphPerspective.restoreEdges(int[]),
RootGraph.getConnectingEdgeIndicesArray(int[])
public int[] restoreNodes(int[] rootGraphNodeInx,
boolean restoreIncidentEdges)
restoreNodes in interface GraphPerspectiverootGraphNodeInx - DOCUMENT ME!restoreIncidentEdges - DOCUMENT ME!
GraphPerspective.restoreNodes(int[]),
GraphPerspective.restoreEdges(int[]),
RootGraph.getConnectingEdgeIndicesArray(int[])public int[] restoreNodes(int[] rootGraphNodeInx)
restoreNodes in interface GraphPerspectiverootGraphNodeInx - DOCUMENT ME!
public Edge hideEdge(Edge edge)
hideEdge in interface GraphPerspectiveedge - DOCUMENT ME!
public int hideEdge(int rootGraphEdgeInx)
hideEdge in interface GraphPerspectiverootGraphEdgeInx - DOCUMENT ME!
public List hideEdges(List edges)
hideEdges in interface GraphPerspectiveedges - DOCUMENT ME!
GraphPerspective.hideEdge(Edge),
GraphPerspective.hideEdges(int[])public int[] hideEdges(int[] rootGraphEdgeInx)
hideEdges in interface GraphPerspectiverootGraphEdgeInx - DOCUMENT ME!
public Edge restoreEdge(Edge edge)
restoreEdge in interface GraphPerspectiveedge - DOCUMENT ME!
public int restoreEdge(int rootGraphEdgeInx)
restoreEdge in interface GraphPerspectiverootGraphEdgeInx - DOCUMENT ME!
public List restoreEdges(List edges)
restoreEdges in interface GraphPerspectiveedges - DOCUMENT ME!
GraphPerspective.restoreEdges(int[])public int[] restoreEdges(int[] rootGraphEdgeInx)
restoreEdges in interface GraphPerspectiverootGraphEdgeInx - DOCUMENT ME!
public boolean containsNode(Node node)
containsNode in interface GraphPerspectivenode - DOCUMENT ME!
GraphPerspective.containsNode(Node, boolean)
public boolean containsNode(Node node,
boolean recurse)
containsNode in interface GraphPerspectivenode - DOCUMENT ME!recurse - DOCUMENT ME!
public boolean containsEdge(Edge edge)
containsEdge in interface GraphPerspectiveedge - DOCUMENT ME!
public boolean containsEdge(Edge edge,
boolean recurse)
containsEdge in interface GraphPerspectiveedge - DOCUMENT ME!recurse - DOCUMENT ME!
public GraphPerspective join(GraphPerspective persp)
join in interface GraphPerspectivepersp - DOCUMENT ME!
public GraphPerspective createGraphPerspective(Node[] nodes,
Edge[] edges)
createGraphPerspective in interface GraphPerspectivenodes - DOCUMENT ME!edges - DOCUMENT ME!
RootGraph.createGraphPerspective(int[], int[])
public GraphPerspective createGraphPerspective(int[] rootGraphNodeInx,
int[] rootGraphEdgeInx)
createGraphPerspective in interface GraphPerspectiverootGraphNodeInx - DOCUMENT ME!rootGraphEdgeInx - DOCUMENT ME!
RootGraph.createGraphPerspective(int[], int[])public GraphPerspective createGraphPerspective(Filter filter)
createGraphPerspective in interface GraphPerspectivefilter - DOCUMENT ME!
public List neighborsList(Node node)
neighborsList in interface GraphPerspectivenode - DOCUMENT ME!
public int[] neighborsArray(int nodeIndex)
neighborsArray in interface GraphPerspectivenodeIndex - DOCUMENT ME!
public boolean isNeighbor(Node a,
Node b)
isNeighbor in interface GraphPerspectivea - DOCUMENT ME!b - DOCUMENT ME!
public boolean isNeighbor(int nodeInxA,
int nodeInxB)
isNeighbor in interface GraphPerspectivenodeInxA - DOCUMENT ME!nodeInxB - DOCUMENT ME!
public boolean edgeExists(Node from,
Node to)
edgeExists in interface GraphPerspectivefrom - DOCUMENT ME!to - DOCUMENT ME!
public boolean edgeExists(int fromNodeInx,
int toNodeInx)
edgeExists in interface GraphPerspectivefromNodeInx - DOCUMENT ME!toNodeInx - DOCUMENT ME!
public int getEdgeCount(Node from,
Node to,
boolean countUndirectedEdges)
getEdgeCount in interface GraphPerspectivefrom - DOCUMENT ME!to - DOCUMENT ME!countUndirectedEdges - DOCUMENT ME!
public int getEdgeCount(int fromNodeInx,
int toNodeInx,
boolean countUndirectedEdges)
getEdgeCount in interface GraphPerspectivefromNodeInx - DOCUMENT ME!toNodeInx - DOCUMENT ME!countUndirectedEdges - DOCUMENT ME!
public List edgesList(Node from,
Node to)
edgesList in interface GraphPerspectivefrom - DOCUMENT ME!to - DOCUMENT ME!
public List edgesList(int fromNodeInx,
int toNodeInx,
boolean includeUndirectedEdges)
edgesList in interface GraphPerspectivefromNodeInx - DOCUMENT ME!toNodeInx - DOCUMENT ME!includeUndirectedEdges - DOCUMENT ME!
GraphPerspective.getAdjacentEdgeIndicesArray(int, boolean, boolean, boolean)
public int[] getEdgeIndicesArray(int fromNodeInx,
int toNodeInx,
boolean includeUndirectedEdges)
getEdgeIndicesArray in interface GraphPerspectivefromNodeInx - DOCUMENT ME!toNodeInx - DOCUMENT ME!includeUndirectedEdges - DOCUMENT ME!
GraphPerspective.getAdjacentEdgeIndicesArray(int, boolean, boolean, boolean)public int getInDegree(Node node)
getInDegree in interface GraphPerspectivenode - DOCUMENT ME!
public int getInDegree(int nodeInx)
getInDegree in interface GraphPerspectivenodeInx - DOCUMENT ME!
public int getInDegree(Node node,
boolean countUndirectedEdges)
getInDegree in interface GraphPerspectivenode - DOCUMENT ME!countUndirectedEdges - DOCUMENT ME!
public int getInDegree(int nodeInx,
boolean countUndirectedEdges)
getInDegree in interface GraphPerspectivenodeInx - DOCUMENT ME!countUndirectedEdges - DOCUMENT ME!
public int getOutDegree(Node node)
getOutDegree in interface GraphPerspectivenode - DOCUMENT ME!
public int getOutDegree(int nodeInx)
getOutDegree in interface GraphPerspectivenodeInx - DOCUMENT ME!
public int getOutDegree(Node node,
boolean countUndirectedEdges)
getOutDegree in interface GraphPerspectivenode - DOCUMENT ME!countUndirectedEdges - DOCUMENT ME!
public int getOutDegree(int nodeInx,
boolean countUndirectedEdges)
getOutDegree in interface GraphPerspectivenodeInx - DOCUMENT ME!countUndirectedEdges - DOCUMENT ME!
public int getDegree(Node node)
getDegree in interface GraphPerspectivenode - DOCUMENT ME!
public int getDegree(int nodeInx)
getDegree in interface GraphPerspectivenodeInx - DOCUMENT ME!
public int getIndex(Node node)
getIndex in interface GraphPerspectivenode - DOCUMENT ME!
public int getNodeIndex(int rootGraphNodeInx)
getNodeIndex in interface GraphPerspectiverootGraphNodeInx - DOCUMENT ME!
GraphPerspective.getRootGraphNodeIndex(int)public int getRootGraphNodeIndex(int rootGraphNodeInx)
getRootGraphNodeIndex in interface GraphPerspectiverootGraphNodeInx - DOCUMENT ME!
public Node getNode(int rootGraphNodeInx)
getNode in interface GraphPerspectiverootGraphNodeInx - DOCUMENT ME!
public int getIndex(Edge edge)
getIndex in interface GraphPerspectiveedge - DOCUMENT ME!
public int getEdgeIndex(int rootGraphEdgeInx)
getEdgeIndex in interface GraphPerspectiverootGraphEdgeInx - DOCUMENT ME!
GraphPerspective.getRootGraphEdgeIndex(int)public int getRootGraphEdgeIndex(int rootGraphEdgeInx)
getRootGraphEdgeIndex in interface GraphPerspectiverootGraphEdgeInx - DOCUMENT ME!
public Edge getEdge(int rootGraphEdgeInx)
getEdge in interface GraphPerspectiverootGraphEdgeInx - DOCUMENT ME!
public int getEdgeSourceIndex(int edgeInx)
getEdgeSourceIndex in interface GraphPerspectiveedgeInx - DOCUMENT ME!
public int getEdgeTargetIndex(int edgeInx)
getEdgeTargetIndex in interface GraphPerspectiveedgeInx - DOCUMENT ME!
public boolean isEdgeDirected(int edgeInx)
isEdgeDirected in interface GraphPerspectiveedgeInx - DOCUMENT ME!
public boolean isMetaParent(Node child,
Node parent)
isMetaParent in interface GraphPerspectivechild - DOCUMENT ME!parent - DOCUMENT ME!
public boolean isNodeMetaParent(int childNodeInx,
int parentNodeInx)
isNodeMetaParent in interface GraphPerspectivechildNodeInx - DOCUMENT ME!parentNodeInx - DOCUMENT ME!
public List metaParentsList(Node node)
metaParentsList in interface GraphPerspectivenode - DOCUMENT ME!
public List nodeMetaParentsList(int nodeInx)
nodeMetaParentsList in interface GraphPerspectivenodeInx - DOCUMENT ME!
public int[] getNodeMetaParentIndicesArray(int nodeInx)
getNodeMetaParentIndicesArray in interface GraphPerspectivenodeInx - DOCUMENT ME!
public boolean isMetaChild(Node parent,
Node child)
isMetaChild in interface GraphPerspectiveparent - DOCUMENT ME!child - DOCUMENT ME!
public boolean isNodeMetaChild(int parentNodeInx,
int childNodeInx)
isNodeMetaChild in interface GraphPerspectiveparentNodeInx - DOCUMENT ME!childNodeInx - DOCUMENT ME!
public List nodeMetaChildrenList(Node node)
nodeMetaChildrenList in interface GraphPerspectivenode - DOCUMENT ME!
public List nodeMetaChildrenList(int parentInx)
nodeMetaChildrenList in interface GraphPerspectiveparentInx - DOCUMENT ME!
public int[] getNodeMetaChildIndicesArray(int parentInx)
getNodeMetaChildIndicesArray in interface GraphPerspectiveparentInx - DOCUMENT ME!
public boolean isMetaParent(Edge child,
Node parent)
isMetaParent in interface GraphPerspectivechild - DOCUMENT ME!parent - DOCUMENT ME!
public boolean isEdgeMetaParent(int childEdgeInx,
int parentNodeInx)
isEdgeMetaParent in interface GraphPerspectivechildEdgeInx - DOCUMENT ME!parentNodeInx - DOCUMENT ME!
public List metaParentsList(Edge edge)
metaParentsList in interface GraphPerspectiveedge - DOCUMENT ME!
public List edgeMetaParentsList(int edgeInx)
edgeMetaParentsList in interface GraphPerspectiveedgeInx - DOCUMENT ME!
public int[] getEdgeMetaParentIndicesArray(int edgeInx)
getEdgeMetaParentIndicesArray in interface GraphPerspectiveedgeInx - DOCUMENT ME!
public boolean isMetaChild(Node parent,
Edge child)
isMetaChild in interface GraphPerspectiveparent - DOCUMENT ME!child - DOCUMENT ME!
public boolean isEdgeMetaChild(int parentNodeInx,
int childEdgeInx)
isEdgeMetaChild in interface GraphPerspectiveparentNodeInx - DOCUMENT ME!childEdgeInx - DOCUMENT ME!
public List edgeMetaChildrenList(Node node)
edgeMetaChildrenList in interface GraphPerspectivenode - DOCUMENT ME!
public List edgeMetaChildrenList(int parentNodeInx)
edgeMetaChildrenList in interface GraphPerspectiveparentNodeInx - DOCUMENT ME!
public int[] getEdgeMetaChildIndicesArray(int parentNodeInx)
getEdgeMetaChildIndicesArray in interface GraphPerspectiveparentNodeInx - DOCUMENT ME!
public List getAdjacentEdgesList(Node node,
boolean undirected,
boolean incoming,
boolean outgoing)
getAdjacentEdgesList in interface GraphPerspectivenode - DOCUMENT ME!undirected - DOCUMENT ME!incoming - DOCUMENT ME!outgoing - DOCUMENT ME!
GraphPerspective.getAdjacentEdgeIndicesArray(int, boolean, boolean, boolean)
public int[] getAdjacentEdgeIndicesArray(int nodeInx,
boolean undirected,
boolean incomingDirected,
boolean outgoingDirected)
getAdjacentEdgeIndicesArray in interface GraphPerspectivenodeInx - DOCUMENT ME!undirected - DOCUMENT ME!incomingDirected - DOCUMENT ME!outgoingDirected - DOCUMENT ME!
public List getConnectingEdges(List nodes)
getConnectingEdges in interface GraphPerspectivenodes - DOCUMENT ME!
public int[] getConnectingEdgeIndicesArray(int[] nodeInx)
getConnectingEdgeIndicesArray in interface GraphPerspectivenodeInx - DOCUMENT ME!
public int[] getConnectingNodeIndicesArray(int[] edgeInx)
getConnectingNodeIndicesArray in interface GraphPerspectiveedgeInx - DOCUMENT ME!
GraphPerspective.getEdgeSourceIndex(int),
GraphPerspective.getEdgeTargetIndex(int)public GraphPerspective createGraphPerspective(int[] nodeInx)
createGraphPerspective in interface GraphPerspectivenodeInx - DOCUMENT ME!
public void finalize()
finalize in class Object
|
Cytoscape 2.8.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||