choco.cp.solver.constraints.global.lightcostregular.structure
Class LayeredGraph
java.lang.Object
choco.cp.solver.constraints.global.lightcostregular.structure.LayeredGraph
public class LayeredGraph
- extends Object
Created by IntelliJ IDEA.
User: julien
Date: Nov 24, 2008
Time: 1:18:18 PM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayeredGraph
public LayeredGraph(IntDomainVar[] vars,
IntDomainVar z,
IAutomaton pi,
double[][][] costs,
IEnvironment environment)
makeGraph
public void makeGraph()
throws ContradictionException
- Throws:
ContradictionException
initialFilter
protected void initialFilter()
throws ContradictionException
- Throws:
ContradictionException
removeEdge
public int removeEdge(Edge e)
throws ContradictionException
- Throws:
ContradictionException
getOutEdgeIterator
public Iterator<Edge> getOutEdgeIterator(Node n)
getInEdgeIterator
public Iterator<Edge> getInEdgeIterator(Node n)
getAllActiveEdgeIterator
public Iterator<Edge> getAllActiveEdgeIterator()
getQ
protected IStateInt getQ(int i,
int j)
getQSize
protected int getQSize(int i,
int j)
decQ
protected void decQ(int i,
int j)
throws ContradictionException
- Throws:
ContradictionException
incQ
protected void incQ(int i,
int j)
main
public static void main(String[] args)
Copyright © 2012. All Rights Reserved.