iitb.Model
Class NestedModel
java.lang.Object
iitb.Model.NestedModel
- All Implemented Interfaces:
- Model
- public class NestedModel
- extends java.lang.Object
- implements Model
Constructor Summary |
NestedModel(int num,
java.lang.String specs)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NestedModel
public NestedModel(int num,
java.lang.String specs)
throws java.lang.Exception
numStates
public int numStates()
- Specified by:
numStates
in interface Model
numEdges
public int numEdges()
- Specified by:
numEdges
in interface Model
label
public int label(int stateNum)
- Specified by:
label
in interface Model
numStartStates
public int numStartStates()
- Specified by:
numStartStates
in interface Model
numEndStates
public int numEndStates()
- Specified by:
numEndStates
in interface Model
startState
public int startState(int i)
- Description copied from interface:
Model
- return the i-th start state
- Specified by:
startState
in interface Model
endState
public int endState(int i)
- Specified by:
endState
in interface Model
isEndState
public boolean isEndState(int i)
- Specified by:
isEndState
in interface Model
isStartState
public boolean isStartState(int i)
- Specified by:
isStartState
in interface Model
stateMappings
public void stateMappings(DataSequence data,
int len,
int start)
throws java.lang.Exception
- Specified by:
stateMappings
in interface Model
- Throws:
java.lang.Exception
stateMappings
public void stateMappings(DataSequence data)
throws java.lang.Exception
- Specified by:
stateMappings
in interface Model
- Throws:
java.lang.Exception
edgeIterator
public iitb.Model.EdgeIterator edgeIterator()
- Specified by:
edgeIterator
in interface Model
main
public static void main(java.lang.String[] args)
Submit a bug or feature.