public class DSEEdge
extends java.lang.Object
Constructor and Description |
---|
DSEEdge(ITransition t,
boolean rev,
DynamicSPT tree)
Creates an Edge within the given
DSEGraph that represents this Transition . |
DSEEdge(ITransition t,
DynamicSPT tree) |
Modifier and Type | Method and Description |
---|---|
DSEVertex |
getDestination() |
DSEVertex |
getSource() |
ITransition |
getT() |
int |
getWeight() |
void |
setWeight(int weight) |
public DSEEdge(ITransition t, DynamicSPT tree)
public DSEEdge(ITransition t, boolean rev, DynamicSPT tree)
DSEGraph
that represents this Transition
. If rev is true then in
the DSEGraph
the link will be pointing towards the source of the Transition
.t
- graph
- rev
- public void setWeight(int weight)
public DSEVertex getDestination()
public DSEVertex getSource()
public int getWeight()
public ITransition getT()