fr.umlv.roadcoloring.graph
Class PrevNodes

java.lang.Object
  extended by fr.umlv.roadcoloring.graph.PrevNodes

public class PrevNodes
extends java.lang.Object


Constructor Summary
PrevNodes(Graph g, java.util.HashSet<java.lang.Integer> ignoredNode)
           
 
Method Summary
 java.util.List<java.lang.Integer> getAllPred(int node, byte color)
           
 java.util.List<java.lang.Integer> getFromNode(int node)
           
 int getOnePred(int node, byte color)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrevNodes

public PrevNodes(Graph g,
                 java.util.HashSet<java.lang.Integer> ignoredNode)
Method Detail

getFromNode

public java.util.List<java.lang.Integer> getFromNode(int node)

getOnePred

public int getOnePred(int node,
                      byte color)

getAllPred

public java.util.List<java.lang.Integer> getAllPred(int node,
                                                    byte color)