V
- the graph vertex typeE
- the graph edge typeMaskSubgraph
.@Deprecated public class DirectedMaskSubgraph<V,E> extends MaskSubgraph<V,E> implements DirectedGraph<V,E>
MaskSubgraph
of another graph.base, baseType, edgeMask, edges, vertexMask, vertices
DEFAULT_EDGE_WEIGHT
Constructor and Description |
---|
DirectedMaskSubgraph(DirectedGraph<V,E> base,
java.util.function.Predicate<V> vertexMask,
java.util.function.Predicate<E> edgeMask)
Deprecated.
Create a new directed
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 DirectedMaskSubgraph(DirectedGraph<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.