|
| PatternAlignmentModel () |
|
| PatternAlignmentModel (std::istream *f, PatternModelOptions options, PatternModelInterface *constrainmodel=NULL) |
|
| PatternAlignmentModel (const std::string filename, const PatternModelOptions options, PatternModelInterface *constrainmodel=NULL) |
|
virtual int | getmodeltype () const |
|
virtual int | getmodelversion () const |
|
virtual size_t | size () const |
|
virtual bool | has (const Pattern &pattern) const |
|
virtual bool | has (const PatternPointer &pattern) const |
|
virtual void | load (std::string filename, const PatternModelOptions options, PatternModelInterface *constrainmodel=NULL) |
|
virtual void | load (std::istream *f, PatternModelOptions options, PatternModelInterface *constrainmodel=NULL) |
|
PatternModelInterface * | getinterface () |
|
void | write (std::ostream *out) |
|
void | write (const std::string filename) |
|
virtual int | maxlength () const |
|
virtual int | minlength () const |
|
virtual int | occurrencecount (const Pattern &pattern) |
|
virtual PatternFeatureVectorMap< FeatureType > * | getdata (const Pattern &pattern, bool makeifnew=false) |
|
virtual PatternFeatureVectorMap< FeatureType > * | getdata (const PatternPointer &patternpointer, bool makeifnew=false) |
|
int | types () const |
|
int | tokens () const |
|
unsigned char | type () const |
|
unsigned char | version () const |
|
virtual bool | has (const Pattern &pattern, const Pattern &pattern2) |
|
virtual bool | has (const PatternPointer &patternpointer, const PatternPointer &patternpointer2) |
|
virtual PatternFeatureVector< FeatureType > * | getdata (const Pattern &pattern, const Pattern &pattern2, bool makeifnew=false) |
|
void | add (const Pattern &pattern, const Pattern &pattern2, std::vector< FeatureType > &features, bool checkifexists=true) |
|
virtual void | printmodel (std::ostream *out, ClassDecoder &sourcedecoder, ClassDecoder &targetdecoder) |
|
virtual void | print (std::ostream *out, ClassDecoder &sourcedecoder, ClassDecoder &targetdecoder) |
|
| PatternMap () |
|
void | insert (const Pattern &pattern, PatternFeatureVectorMap< FeatureType > &value) |
|
void | insert (const Pattern &pattern) |
|
bool | has (const Pattern &pattern) const |
|
bool | has (const PatternPointer &pattern) const |
|
size_t | size () const |
|
void | reserve (size_t s) |
|
PatternFeatureVectorMap< FeatureType > & | operator[] (const Pattern &pattern) |
|
PatternFeatureVectorMap< FeatureType > & | operator[] (const PatternPointer &pattern) |
|
iterator | begin () |
|
const_iterator | begin () const |
|
iterator | end () |
|
const_iterator | end () const |
|
iterator | find (const Pattern &pattern) |
|
const_iterator | find (const Pattern &pattern) const |
|
iterator | find (const PatternPointer &pattern) |
|
const_iterator | find (const PatternPointer &pattern) const |
|
bool | erase (const Pattern &pattern) |
|
iterator | erase (const_iterator position) |
|
| PatternMapStore () |
|
virtual | ~PatternMapStore () |
|
void | read (std::istream *in, int MINTOKENS=0, int MINLENGTH=0, int MAXLENGTH=999999, PatternStoreInterface *constrainstore=NULL, bool DONGRAMS=true, bool DOSKIPGRAMS=true, bool DOFLEXGRAMS=true, bool DORESET=false, bool DEBUG=false) |
|
void | read (std::string filename, int MINTOKENS=0, int MINLENGTH=0, int MAXLENGTH=999999, PatternStoreInterface *constrainstore=NULL, bool DONGRAMS=true, bool DOSKIPGRAMS=true, bool DOFLEXGRAMS=true, bool DORESET=false, bool DEBUG=false) |
|
| PatternStore () |
|
virtual | ~PatternStore () |
|
virtual void | attachcorpus (unsigned char *corpusstart, unsigned int corpussize) |
|
virtual void | attachcorpus (const IndexedCorpus &corpus) |
|
virtual void | detachcorpus () |
|
unsigned char * | getcorpus () const |
|
unsigned int | getcorpussize () const |
|
virtual void | use_v1_format () |
|
virtual PatternStoreInterface * | getstoreinterface () |
|