- addEdge
Adds the specified edge to this graph, going from the source vertex to the
target vertex. More forma
- addVertex
Adds the specified vertex to this graph if not already present. More formally,
adds the specified ve
- vertexSet
Returns a set of the vertices contained in this graph. The set is backed by the
graph, so changes to
- edgeSet
Returns a set of the edges contained in this graph. The set is backed by the
graph, so changes to th
- getEdgeSource
Returns the source vertex of an edge. For an undirected graph, source and target
are distinguishable
- getEdgeTarget
Returns the target vertex of an edge. For an undirected graph, source and target
are distinguishable
- containsVertex
Returns true if this graph contains the specified vertex. More formally, returns
true if and only if
- getEdge
Returns an edge connecting source vertex to target vertex if such vertices and
such edge exist in th
- removeVertex
Removes the specified vertex from this graph including all its touching edges if
present. More forma
- edgesOf
Returns a set of all edges touching the specified vertex. If no edges are
touching the specified ver
- getEdgeWeight
Returns the weight assigned to a given edge. Unweighted graphs return 1.0 (as
defined by #DEFAULT_ED
- outgoingEdgesOf
Returns a set of all edges outgoing from the specified vertex. In the case of
undirected graphs this