V
- the graph vertex typeE
- the graph edge typeAsSubgraph
.@Deprecated public class UndirectedWeightedSubgraph<V,E> extends UndirectedSubgraph<V,E> implements UndirectedGraph<V,E>, WeightedGraph<V,E>
Subgraph
,
Serialized Formbase, baseType, edgeSet, isInduced, vertexSet
DEFAULT_EDGE_WEIGHT
Constructor and Description |
---|
UndirectedWeightedSubgraph(UndirectedGraph<V,E> base)
Deprecated.
Creates a new weighted undirected induced subgraph with all vertices included.
|
UndirectedWeightedSubgraph(UndirectedGraph<V,E> base,
Set<? extends V> vertexSubset)
Deprecated.
Creates a new weighted undirected induced subgraph.
|
UndirectedWeightedSubgraph(UndirectedGraph<V,E> base,
Set<? extends V> vertexSubset,
Set<? extends E> edgeSubset)
Deprecated.
Creates a new undirected weighted subgraph.
|
addEdge, addEdge, addVertex, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, getType, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, removeEdge, removeEdge, removeVertex, setEdgeWeight, vertexSet
assertVertexExist, containsEdge, equals, hashCode, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toString, toStringFromSets
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, getType, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, setEdgeWeight, vertexSet
public UndirectedWeightedSubgraph(UndirectedGraph<V,E> base, Set<? extends V> vertexSubset, Set<? extends E> edgeSubset)
base
- the base (backing) graph on which the subgraph will be based.vertexSubset
- vertices to include in the subgraph. If null
then all
vertices are included.edgeSubset
- edges to in include in the subgraph. If null
then all the
edges whose vertices found in the graph are included.public UndirectedWeightedSubgraph(UndirectedGraph<V,E> base, Set<? extends V> vertexSubset)
base
- the base (backing) graph on which the subgraph will be based.vertexSubset
- vertices to include in the subgraph. If null
then all
vertices are included.public UndirectedWeightedSubgraph(UndirectedGraph<V,E> base)
base
- the base (backing) graph on which the subgraph will be based.Copyright © 2017. All rights reserved.