OpenMS  2.7.0
Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
Spawn< TNeedle > Struct Template Reference

state of an AC spawn, operating on a trie More...

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

Collaboration diagram for Spawn< TNeedle >:
[legend]

Public Types

typedef Size< TNeedle >::Type TSize
 
typedef Value< TNeedle >::Type TKeyword
 
typedef Value< TKeyword >::Type TAlphabet
 
typedef Graph< Automaton< TAlphabet > > TGraph
 
typedef VertexDescriptor< TGraph >::Type TVert
 
typedef Pattern< TNeedle, FuzzyAC >::KeyWordLengthType KeyWordLengthType
 

Public Member Functions

 Spawn (TVert init_state, KeyWordLengthType current_depth, KeyWordLengthType aaa_seen, KeyWordLengthType mm_seen)
 
 Spawn (const Spawn &other)=default
 

Public Attributes

TVert current_state
 
KeyWordLengthType max_depth_decrease
 maximum loss in depths of traversed nodes (both while reporting hits and changing its own state) More...
 
KeyWordLengthType ambAA_seen
 number of ambAA's which the spawn has seen More...
 
KeyWordLengthType mismatches_seen
 number of mismatches the spawn has seen More...
 

Private Member Functions

 Spawn ()
 
Spawnoperator= (const Spawn &)
 

Detailed Description

template<typename TNeedle>
struct seqan::Spawn< TNeedle >

state of an AC spawn, operating on a trie

Member Typedef Documentation

◆ KeyWordLengthType

typedef Pattern<TNeedle, FuzzyAC>::KeyWordLengthType KeyWordLengthType

◆ TAlphabet

typedef Value<TKeyword>::Type TAlphabet

◆ TGraph

typedef Graph<Automaton<TAlphabet> > TGraph

◆ TKeyword

typedef Value<TNeedle>::Type TKeyword

◆ TSize

typedef Size<TNeedle>::Type TSize

◆ TVert

typedef VertexDescriptor<TGraph>::Type TVert

Constructor & Destructor Documentation

◆ Spawn() [1/3]

Spawn ( TVert  init_state,
KeyWordLengthType  current_depth,
KeyWordLengthType  aaa_seen,
KeyWordLengthType  mm_seen 
)
inline

◆ Spawn() [2/3]

Spawn ( const Spawn< TNeedle > &  other)
default

◆ Spawn() [3/3]

Spawn ( )
private

Member Function Documentation

◆ operator=()

Spawn& operator= ( const Spawn< TNeedle > &  )
private

Member Data Documentation

◆ ambAA_seen

KeyWordLengthType ambAA_seen

number of ambAA's which the spawn has seen

Referenced by seqan::_createSecondarySpawns(), and seqan::_spawnConsumeChar().

◆ current_state

TVert current_state

◆ max_depth_decrease

KeyWordLengthType max_depth_decrease

maximum loss in depths of traversed nodes (both while reporting hits and changing its own state)

Referenced by seqan::_consumeChar(), seqan::_createSecondarySpawns(), seqan::_spawnConsumeChar(), and seqan::addHits().

◆ mismatches_seen

KeyWordLengthType mismatches_seen

number of mismatches the spawn has seen

Referenced by seqan::_spawnConsumeChar().