Package com.jgalgo.graph
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
public abstract class AbstractGraph<V,E> extends Object implements Graph<V,E>
Abstract implementation ofGraph
.This class provides default implementations for
equals(Object)
,hashCode()
andtoString()
.- Author:
- Barak Ugav
-
-
Constructor Summary
Constructors Constructor Description AbstractGraph()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
int
hashCode()
String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
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, moveEdge, outEdges, removeEdge, removeEdges, removeEdgesOf, removeEdgesWeights, removeInEdgesOf, removeOutEdgesOf, removeVertex, removeVertices, removeVerticesWeights, renameEdge, renameVertex, reverseEdge, reverseView, subGraphCopy, undirectedView, vertexBuilder, vertices, verticesWeights, verticesWeightsKeys
-
-