choco.cp.solver.constraints.global.lightcostregular.structure
Class Edge

java.lang.Object
  extended by choco.cp.solver.constraints.global.lightcostregular.structure.Edge
All Implemented Interfaces:
Comparable<Edge>

public class Edge
extends Object
implements Comparable<Edge>

Created by IntelliJ IDEA. User: julien Date: Nov 24, 2008 Time: 12:59:05 PM


Nested Class Summary
static class Edge.OutComparator
           
 
Field Summary
 Node dest
           
 int j
           
 Node orig
           
 
Constructor Summary
Edge(Node orig, Node dest, int j)
           
 
Method Summary
 int compareTo(Edge edge)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

j

public int j

orig

public Node orig

dest

public Node dest
Constructor Detail

Edge

public Edge(Node orig,
            Node dest,
            int j)
Method Detail

compareTo

public int compareTo(Edge edge)
Specified by:
compareTo in interface Comparable<Edge>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.