V
- the graph vertex typeE
- the graph edge typeMaskSubgraph
.@Deprecated public class UndirectedMaskSubgraph<V,E> extends MaskSubgraph<V,E> implements UndirectedGraph<V,E>
MaskSubgraph
of another graph.base, baseType, edgeMask, edges, vertexMask, vertices
DEFAULT_EDGE_WEIGHT
Constructor and Description |
---|
UndirectedMaskSubgraph(UndirectedGraph<V,E> base,
java.util.function.Predicate<V> vertexMask,
java.util.function.Predicate<E> edgeMask)
Deprecated.
Create a new undirected
MaskSubgraph of another graph. |
addEdge, addEdge, addVertex, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, getType, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, setEdgeWeight, vertexSet
assertVertexExist, containsEdge, equals, hashCode, removeAllEdges, 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 UndirectedMaskSubgraph(UndirectedGraph<V,E> base, java.util.function.Predicate<V> vertexMask, java.util.function.Predicate<E> edgeMask)
MaskSubgraph
of another graph.base
- the base graphvertexMask
- vertices to exclude in the subgraph. If a vertex is masked, it is as if it
is not in the subgraph. Edges incident to the masked vertex are also masked.edgeMask
- edges to exclude in the subgraph. If an edge is masked, it is as if it is not
in the subgraph.Copyright © 2017. All rights reserved.