org.neo4j.graphalgo.impl.shortestpath
Class Util.PathCounter
java.lang.Object
org.neo4j.graphalgo.impl.shortestpath.Util.PathCounter
- Enclosing class:
- Util
public static class Util.PathCounter
- extends Object
This can be used for counting the number of paths from the start node
(implicit from the predecessors) and some target nodes.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util.PathCounter
public Util.PathCounter(Map<Node,List<Relationship>> predecessors)
getNumberOfPathsToNode
public int getNumberOfPathsToNode(Node node)
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.