V
- the graph vertex typeE
- the graph edge typepublic class ListenableUndirectedWeightedGraph<V,E> extends ListenableUndirectedGraph<V,E> implements WeightedGraph<V,E>
ListenableGraph
.DefaultListenableGraph
,
Serialized FormDEFAULT_EDGE_WEIGHT
Constructor and Description |
---|
ListenableUndirectedWeightedGraph(Class<? extends E> edgeClass)
Creates a new listenable undirected weighted graph.
|
ListenableUndirectedWeightedGraph(WeightedGraph<V,E> base)
Creates a new listenable undirected weighted graph.
|
addEdge, addEdge, addGraphListener, addVertex, addVertexSetListener, clone, fireEdgeAdded, fireEdgeRemoved, fireVertexAdded, fireVertexRemoved, isReuseEvents, removeEdge, removeEdge, removeGraphListener, removeVertex, removeVertexSetListener, setReuseEvents
containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, setEdgeWeight, toString, vertexSet
assertVertexExist, containsEdge, equals, hashCode, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toStringFromSets
finalize, getClass, notify, notifyAll, wait, wait, wait
setEdgeWeight
addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet
degreeOf
public ListenableUndirectedWeightedGraph(Class<? extends E> edgeClass)
edgeClass
- class on which to base factory for edgespublic ListenableUndirectedWeightedGraph(WeightedGraph<V,E> base)
base
- the backing graph.Copyright © 2017. All rights reserved.