public class Edge
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
Node |
destinationNode
The destination node for this edge
|
java.lang.String |
id
The identifier for this edge
|
Node |
sourceNode
The source node for this edge
|
| Modifier and Type | Method and Description |
|---|---|
Node |
getDestination()
Gets the destination node for a given edge.
|
Node |
getSource()
Gets source node for a given edge.
|
void |
print()
Prints out this edge.
|
void |
setDestination(Node node)
Sets the destination node for a given edge.
|
void |
setSource(Node node)
Sets source node for a given edge.
|
boolean |
validate()
Validate this edge.
|
public java.lang.String id
public Node sourceNode
public Node destinationNode
public void setDestination(Node node)
node - the destination node for this edgegetDestination()public void setSource(Node node)
node - the source node for this edgegetSource()public Node getDestination()
setDestination(edu.cmu.sphinx.trainer.Node)public Node getSource()
setSource(edu.cmu.sphinx.trainer.Node)public boolean validate()
public void print()