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

bool Collection::has_not ( const set< int > &  t  ) 

Checks whether or not the collection has the element received as a parameter.

t element
true if t is not in the collection

Definition at line 32 of file collection.cc.

Referenced by HMM::init_probabilities_from_tagged_text(), HMM::init_probabilities_kupiec(), operator[](), HMM::tagger(), and HMM::train().

  return index.find(t) == index.end();

Generated by  Doxygen 1.6.0   Back to index