Ejemplo n.º 1
0
 public override bool equals(object obj)
 {
     if (obj == this)
     {
         return(true);
     }
     if (obj is OutOfGrammarGraph.OogHMMState)
     {
         OutOfGrammarGraph.OogHMMState oogHMMState = (OutOfGrammarGraph.OogHMMState)obj;
         return(oogHMMState.hmmState == this.hmmState);
     }
     return(false);
 }
Ejemplo n.º 2
0
 public override SearchStateArc[] getSuccessors()
 {
     if (this.hmmState.isExitState())
     {
         return(OutOfGrammarGraph.access_400(this.this_0));
     }
     HMMStateArc[]    successors = this.hmmState.getSuccessors();
     SearchStateArc[] array      = new SearchStateArc[successors.Length];
     for (int i = 0; i < successors.Length; i++)
     {
         array[i] = new OutOfGrammarGraph.OogHMMState(this.this_0, successors[i].getHMMState(), successors[i].getLogProbability());
     }
     return(array);
 }