OpenMS  2.4.0
Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
Pattern< TNeedle, FuzzyAC > Class Template Reference

#include <OpenMS/ANALYSIS/ID/AhoCorasickAmbiguous.h>

Public Types

typedef uint32_t TSize
 
typedef Value< TNeedle >::Type TKeyword
 
typedef Value< TKeyword >::Type TAlphabet
 
typedef Graph< Automaton< TAlphabet > > TGraph
 
typedef VertexDescriptor< TGraph >::Type TVert
 
typedef __uint8 KeyWordLengthType
 

Public Member Functions

 Pattern ()
 
void init (TNeedle const &ndl, KeyWordLengthType max_AAA=3, KeyWordLengthType max_mm=0)
 Pattern Ctor with vector of needles, i.e. keywords/peptides. More...
 
 ~Pattern ()
 

Public Attributes

const TVert nilVal
 
Holder< TNeedle > data_host
 
TGraph data_graph
 
String< String< TSize > > data_map_outputNodes
 
String< KeyWordLengthTypedata_node_depth
 
KeyWordLengthType max_ambAA
 
KeyWordLengthType max_mmAA
 
String< TVertparentMap
 allows to find parent of each node More...
 

Private Member Functions

 Pattern (Pattern const &other)
 
Pattern const & operator= (Pattern const &other)
 

Member Typedef Documentation

◆ KeyWordLengthType

typedef __uint8 KeyWordLengthType

◆ TAlphabet

typedef Value<TKeyword>::Type TAlphabet

◆ TGraph

typedef Graph<Automaton<TAlphabet> > TGraph

◆ TKeyword

typedef Value<TNeedle>::Type TKeyword

◆ TSize

typedef uint32_t TSize

◆ TVert

typedef VertexDescriptor<TGraph>::Type TVert

Constructor & Destructor Documentation

◆ Pattern() [1/2]

Pattern ( Pattern< TNeedle, FuzzyAC > const &  other)
private

◆ Pattern() [2/2]

Pattern ( )
inline

◆ ~Pattern()

~Pattern ( )
inline

Member Function Documentation

◆ init()

void init ( TNeedle const &  ndl,
KeyWordLengthType  max_AAA = 3,
KeyWordLengthType  max_mm = 0 
)
inline

Pattern Ctor with vector of needles, i.e. keywords/peptides.

The vector ndl must not be empty!

References seqan::isAmbiguous(), and seqan::setHost().

◆ operator=()

Pattern const& operator= ( Pattern< TNeedle, FuzzyAC > const &  other)
private

Member Data Documentation

◆ data_graph

TGraph data_graph

◆ data_host

Holder<TNeedle> data_host

Referenced by seqan::setHost().

◆ data_map_outputNodes

String<String<TSize> > data_map_outputNodes

◆ data_node_depth

String<KeyWordLengthType> data_node_depth

◆ max_ambAA

KeyWordLengthType max_ambAA

◆ max_mmAA

◆ nilVal

const TVert nilVal

Referenced by seqan::_consumeChar().

◆ parentMap

String<TVert> parentMap

allows to find parent of each node

Referenced by seqan::_createAcTrie().