Logo Search packages:      
Sourcecode: lttoolbox version File versions

void FSTProcessor::calcInitial (  )  [private]

Calculate the initial state of parsing

Definition at line 320 of file FSTProcessor.C.

References Node::addTransition(), State::init(), initial_state, root, and transducers.

{
  for(map<string, TransExe, Ltstr>::iterator it = transducers.begin(),
                                             limit = transducers.end();
      it != limit; it++)
  {
    root.addTransition(0, 0, it->second.getInitial());
  }

  initial_state.init(&root);
}


Generated by  Doxygen 1.6.0   Back to index