Abstract
The type of the vertices in the graph.
The type of the values associated with the vertices.
Creates a new graph structure with the given vertex.
The vertex to add to the graph.
Protected
mapReturns the number of vertices in the graph.
The number of vertices in the graph.
Returns an array of vertices in the graph.
An array of vertices.
Abstract
addAdds an edge between two vertices in the graph.
The first vertex.
The second vertex.
The graph structure instance.
Abstract
getAbstract
isAbstract
removeRemoves an edge between two vertices in the graph.
The first vertex.
The second vertex.
The graph structure instance.
Abstract
removeRemoves a vertex from the graph.
The vertex to remove.
The graph structure instance.
Abstract class representing a graph structure.