org._3pq.jgrapht
Interface DirectedGraph
- Graph
- DefaultDirectedGraph, DefaultDirectedWeightedGraph, DirectedMultigraph, DirectedSubgraph, DirectedWeightedMultigraph, DirectedWeightedSubgraph, ListenableDirectedGraph, ListenableDirectedWeightedGraph, SimpleDirectedGraph, SimpleDirectedWeightedGraph, UnmodifiableDirectedGraph
public interface DirectedGraph
int | inDegreeOf(Object vertex) - Returns the "in degree" of the specified vertex.
|
List | incomingEdgesOf(Object vertex) - Returns a list of all edges incoming into the specified vertex.
|
int | outDegreeOf(Object vertex) - Returns the "out degree" of the specified vertex.
|
List | outgoingEdgesOf(Object vertex) - Returns a list of all edges outgoing from the specified vertex.
|
addAllEdges , addAllVertices , addEdge , addEdge , addVertex , containsEdge , containsEdge , containsVertex , edgeSet , edgesOf , getAllEdges , getEdge , getEdgeFactory , removeAllEdges , removeAllEdges , removeAllVertices , removeEdge , removeEdge , removeVertex , vertexSet |
inDegreeOf
public int inDegreeOf(Object vertex)
vertex
- vertex whose degree is to be calculated.
- the degree of the specified vertex.
incomingEdgesOf
public List incomingEdgesOf(Object vertex)
Returns a list of all edges incoming into the specified vertex.
vertex
- the vertex for which the list of incoming edges to be
returned.
- a list of all edges incoming into the specified vertex.
outDegreeOf
public int outDegreeOf(Object vertex)
vertex
- vertex whose degree is to be calculated.
- the degree of the specified vertex.
outgoingEdgesOf
public List outgoingEdgesOf(Object vertex)
Returns a list of all edges outgoing from the specified vertex.
vertex
- the vertex for which the list of outgoing edges to be
returned.
- a list of all edges outgoing from the specified vertex.