- getVertices
Returns a view of all vertices in this graph. In general, this obeys the
Collection contract, and t
- addEdge
Adds edge to this graph with type edge_type. Fails under the following
circumstances: * edge is alre
- addVertex
Adds vertex to this graph. Fails if vertex is null or already in the graph.
- containsVertex
Returns true if this graph's vertex collection contains vertex. Equivalent to
getVertices().contain
- getEdgeType
Returns the edge type of edge in this graph.
- getEdges
Returns the collection of edges in this graph which are of type edge_type.
- getIncidentVertices
Returns the collection of vertices in this graph which are connected to edge.
Note that for some gra
- getSuccessors
Returns a Collection view of the successors of vertex in this graph. A successor
of vertex is define
- degree
Returns the number of edges incident to vertex. Special cases of interest: *
Incident self-loop
- getInEdges
Returns a Collection view of the incoming edges incident to vertex in this
graph.
- getIncidentCount
Returns the number of vertices that are incident to edge. For hyperedges, this
can be any nonnegativ
- getOutEdges
Returns a Collection view of the outgoing edges incident to vertex in this
graph.