choco.kernel.solver.constraints.global.automata.fast_costregular.structure
Class Arc
java.lang.Object
org.jgrapht.graph.DefaultEdge
org.jgrapht.graph.DefaultWeightedEdge
choco.kernel.solver.constraints.global.automata.fast_costregular.structure.Arc
- All Implemented Interfaces:
- IndexedObject, Serializable, Cloneable
public class Arc
- extends org.jgrapht.graph.DefaultWeightedEdge
- implements IndexedObject
Created by IntelliJ IDEA.
User: julien
Date: Oct 30, 2009
Time: 3:48:11 PM
- See Also:
- Serialized Form
Constructor Summary |
Arc(Node orig,
Node dest,
int value)
|
Arc(Node orig,
Node dest,
int value,
int id,
double cost)
|
Methods inherited from class org.jgrapht.graph.DefaultEdge |
getSource, getTarget |
id
public int id
orig
public Node orig
dest
public Node dest
value
public int value
cost
public double cost
Arc
public Arc(Node orig,
Node dest,
int value,
int id,
double cost)
Arc
public Arc(Node orig,
Node dest,
int value)
getWeight
public double getWeight()
- Overrides:
getWeight
in class org.jgrapht.graph.DefaultWeightedEdge
toString
public String toString()
- Overrides:
toString
in class org.jgrapht.graph.DefaultEdge
setId
public final void setId(int id)
getObjectIdx
public int getObjectIdx()
- Specified by:
getObjectIdx
in interface IndexedObject
Copyright © 2012. All Rights Reserved.