| OpenMS 2.5.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>`

## 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)

## 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 ()
Spawn & | operator= (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/2]

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

inline

## ◆ Spawn() [2/2]

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

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

## ◆ 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().