public interface UtteranceGraph
Modifier and Type | Method and Description |
---|---|
void |
add(Graph transcriptGraph)
Add a transcript graph to the current utterance graph.
|
Node |
getFinalNode()
Gets the final node in this graph
|
Node |
getInitialNode()
Gets the initial node in this graph
|
Node |
getNode(int index)
Get node at the specified position in the list.
|
int |
indexOf(Node node)
Gets the index of a particular node in the graph.
|
boolean |
isFinalNode(Node node)
Returns whether the given node is the final node in this graph.
|
boolean |
isInitialNode(Node node)
Returns whether the given node is the initial node in this graph.
|
int |
size() |
boolean |
validate()
Validate the graph.
|
void add(Graph transcriptGraph)
transcriptGraph
- the transcript graph to addint size()
Node getNode(int index)
index
- index of item to retunNode getInitialNode()
Node getFinalNode()
boolean isInitialNode(Node node)
node
- the node we want to compareboolean isFinalNode(Node node)
node
- the node we want to compareint indexOf(Node node)
node
- the nodeboolean validate()