boolean |
Graph.addNode(Node node) |
Adds a node to this graph.
|
boolean |
Subgraph.addNode(Node node) |
Adds a node to this subgraph.
|
void |
Graph.clearEdges(Node node) |
Clears the edges incident to the given node.
|
void |
Graph.clearEdges(Node node,
int type) |
Clears the edges of the given type incident to the given node.
|
boolean |
Graph.contains(Node node) |
Returns true if node is contained in this graph.
|
void |
GraphBridge.copyNodes(Node[] nodes) |
Copy the given nodes to the current graph store.
|
int |
Graph.getDegree(Node node) |
Gets the node degree.
|
Edge |
DirectedGraph.getEdge(Node source,
Node target) |
Gets the edge adjacent to source and target.
|
Edge |
DirectedGraph.getEdge(Node source,
Node target,
int type) |
Gets the edge adjacent to source and target with an edge of the given type.
|
Edge |
Graph.getEdge(Node node1,
Node node2) |
Gets the edge adjacent to node1 and node2.
|
Edge |
Graph.getEdge(Node node1,
Node node2,
int type) |
Gets the edge adjacent to node1 and node2 and from the given type.
|
EdgeIterable |
Graph.getEdges(Node node) |
Gets all edges incident to a given node.
|
EdgeIterable |
Graph.getEdges(Node node,
int type) |
Gets all edges incident to a given node with the given edge type.
|
EdgeIterable |
Graph.getEdges(Node node1,
Node node2) |
Get the edges adjacent to node1 and node2.
|
EdgeIterable |
Graph.getEdges(Node node1,
Node node2,
int type) |
Gets the edges adjacent to node1 and node 2 and from the given type.
|
int |
DirectedGraph.getInDegree(Node node) |
Gets the edge's in-degree.
|
EdgeIterable |
DirectedGraph.getInEdges(Node node) |
Gets the node's incoming edges.
|
EdgeIterable |
DirectedGraph.getInEdges(Node node,
int type) |
Gets the node's incoming edges for the given type.
|
NodeIterable |
Graph.getNeighbors(Node node) |
Gets all neighbors of a given node.
|
NodeIterable |
Graph.getNeighbors(Node node,
int type) |
Gets all neighbors of a given node connected through the given edge type.
|
Node |
Graph.getOpposite(Node node,
Edge edge) |
Gets the node at the opposite end of the given edge.
|
int |
DirectedGraph.getOutDegree(Node node) |
Gets the edge's out-degree.
|
EdgeIterable |
DirectedGraph.getOutEdges(Node node) |
Gets the node's outgoing edges.
|
EdgeIterable |
DirectedGraph.getOutEdges(Node node,
int type) |
Gets the node's incoming edges for the given type.
|
NodeIterable |
DirectedGraph.getPredecessors(Node node) |
Gets the node's predecessors.
|
NodeIterable |
DirectedGraph.getPredecessors(Node node,
int type) |
Gets the node's predecessors through a specific edge type.
|
NodeIterable |
DirectedGraph.getSuccessors(Node node) |
Gets the node's successors.
|
NodeIterable |
DirectedGraph.getSuccessors(Node node,
int type) |
Gets the node's successors through a specific edge type.
|
boolean |
DirectedGraph.isAdjacent(Node source,
Node target) |
Returns true if source and target are adjacent.
|
boolean |
DirectedGraph.isAdjacent(Node source,
Node target,
int type) |
Returns true if source and target are adjacent with an edge of the given
type.
|
boolean |
Graph.isAdjacent(Node node1,
Node node2) |
Returns true if node1 and node2 are adjacent.
|
boolean |
Graph.isAdjacent(Node node1,
Node node2,
int type) |
Returns true if node1 and node2 are adjacent with an edge of the given type.
|
boolean |
Graph.isIncident(Node node,
Edge edge) |
Returns true if the node and the edge are incident.
|
Edge |
GraphFactory.newEdge(Object id,
Node source,
Node target,
int type,
double weight,
boolean directed) |
Creates and returns an edge between source and target.
|
Edge |
GraphFactory.newEdge(Node source,
Node target) |
Creates and returns a directed edge between source and target.
|
Edge |
GraphFactory.newEdge(Node source,
Node target,
boolean directed) |
Creates and returns an edge between source and target.
|
Edge |
GraphFactory.newEdge(Node source,
Node target,
int type,
boolean directed) |
Creates and returns an edge between source and target.
|
Edge |
GraphFactory.newEdge(Node source,
Node target,
int type,
double weight,
boolean directed) |
Creates and returns an edge between source and target.
|
boolean |
Graph.removeNode(Node node) |
Removes a node from this graph.
|
boolean |
Subgraph.removeNode(Node node) |
Removes a node from this subgraph.
|