Logo Search packages:      
Sourcecode: lttoolbox version File versions  Download package

int Transducer::newState (  )  [private]

New state creator

the new state number

Definition at line 30 of file Transducer.C.

References transitions.

Referenced by clear(), insertNewSingleTransduction(), insertSingleTransduction(), insertTransducer(), joinFinals(), oneOrMore(), optional(), and Transducer().

  int nstate = transitions.size();

  while(transitions.find(nstate) != transitions.end())
  transitions[nstate].clear();  // force creating
  return nstate;

Generated by  Doxygen 1.6.0   Back to index