N
- The node type.E
- The edge type.public final class CheckPathsBetweenNodes<N,E>
extends java.lang.Object
#CheckPathsBetweenNodes(DiGraph,
DiGraphNode, DiGraphNode, Predicate, Predicate)
, for a
description of this algorithm.Constructor and Description |
---|
CheckPathsBetweenNodes(DiGraph<N,E> graph,
DiGraph.DiGraphNode<N,E> a,
DiGraph.DiGraphNode<N,E> b,
com.google.common.base.Predicate<N> nodePredicate,
com.google.common.base.Predicate<DiGraph.DiGraphEdge<N,E>> edgePredicate)
Inclusive check.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allPathsSatisfyPredicate() |
boolean |
somePathsSatisfyPredicate() |
public CheckPathsBetweenNodes(DiGraph<N,E> graph, DiGraph.DiGraphNode<N,E> a, DiGraph.DiGraphNode<N,E> b, com.google.common.base.Predicate<N> nodePredicate, com.google.common.base.Predicate<DiGraph.DiGraphEdge<N,E>> edgePredicate)
public boolean allPathsSatisfyPredicate()
public boolean somePathsSatisfyPredicate()
Copyright © 2009-2019 Google. All Rights Reserved.