org.neo4j.graphalgo.impl.shortestpath
Class Util.PathCounter

java.lang.Object
  extended by 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.


Constructor Summary
Util.PathCounter(Map<Node,List<Relationship>> predecessors)
           
 
Method Summary
 int getNumberOfPathsToNode(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util.PathCounter

public Util.PathCounter(Map<Node,List<Relationship>> predecessors)
Method Detail

getNumberOfPathsToNode

public int getNumberOfPathsToNode(Node node)


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.