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

void State::init ( Node initial  ) 

Init the state with the initial node and empty output

Parameters:
initial the initial node of the transducer

Definition at line 96 of file State.C.

References epsilonClosure(), Pool< T >::get(), pool, and state.

{
  state.clear();
  multimap<Node *, vector<unsigned short> *>::iterator it;
  it = state.insert(pair<Node *, vector<unsigned short> * >(initial, pool.get()));
  it->second->clear();
  epsilonClosure();  
}  


Generated by  Doxygen 1.6.0   Back to index