Class AbstractGraph<V,E>
java.lang.Object
com.jgalgo.graph.AbstractGraph<V,E>
- Type Parameters:
V- the vertices typeE- the edges type
- All Implemented Interfaces:
Graph<V,E>
- Direct Known Subclasses:
GuavaNetworkWrapper,JGraphTWrapper
Abstract implementation of
Graph.
This class provides default implementations for equals(Object), hashCode() and toString().
- Author:
- Barak Ugav
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface com.jgalgo.graph.Graph
addEdge, addEdge, addEdges, addEdgesWeights, addEdgesWeights, addVertex, addVertex, addVertices, addVerticesWeights, addVerticesWeights, clear, clearEdges, containsEdge, copy, copy, edgeBuilder, edgeEndpoint, edges, edgeSource, edgesWeights, edgesWeightsKeys, edgeTarget, ensureEdgeCapacity, ensureVertexCapacity, getEdge, getEdges, immutableCopy, immutableCopy, immutableView, indexGraph, indexGraphEdgesMap, indexGraphVerticesMap, inEdges, isAllowParallelEdges, isAllowSelfEdges, isDirected, maskedGraphView, moveEdge, outEdges, removeEdge, removeEdges, removeEdgesOf, removeEdgesWeights, removeInEdgesOf, removeOutEdgesOf, removeVertex, removeVertices, removeVerticesWeights, renameEdge, renameVertex, reverseEdge, reverseView, subGraphCopy, undirectedView, vertexBuilder, vertices, verticesWeights, verticesWeightsKeys
-
Constructor Details
-
AbstractGraph
public AbstractGraph()Create a new abstract graph.
-
-
Method Details
-
equals
-
hashCode
-
toString
-