iitb.Model
Interface Model

All Known Implementing Classes:
CompleteModel, GenericModel, NestedModel

public interface Model


Method Summary
 iitb.Model.EdgeIterator edgeIterator()
           
 int endState(int i)
           
 boolean isEndState(int i)
           
 boolean isStartState(int i)
           
 int label(int stateNum)
           
 int numEdges()
           
 int numEndStates()
           
 int numStartStates()
           
 int numStates()
           
 int startState(int i)
          return the i-th start state
 void stateMappings(DataSequence data)
           
 void stateMappings(DataSequence data, int len, int start)
           
 

Method Detail

numStates

public int numStates()

label

public int label(int stateNum)

numEdges

public int numEdges()

edgeIterator

public iitb.Model.EdgeIterator edgeIterator()

numStartStates

public int numStartStates()

numEndStates

public int numEndStates()

isEndState

public boolean isEndState(int i)

isStartState

public boolean isStartState(int i)

startState

public int startState(int i)
return the i-th start state


endState

public int endState(int i)

stateMappings

public void stateMappings(DataSequence data)
                   throws java.lang.Exception
Throws:
java.lang.Exception

stateMappings

public void stateMappings(DataSequence data,
                          int len,
                          int start)
                   throws java.lang.Exception
Throws:
java.lang.Exception


Submit a bug or feature.