NCBI C++ ToolKit
Public Member Functions | Public Attributes | List of all members
NAdapterSearch::IAdapterDetector::SParams Struct Reference

Search Toolkit Book for NAdapterSearch::IAdapterDetector::SParams

An adapter sequence is presumed to occur at least min_support times in the input, and is overrepresented by a factor of at least min_init_factor relative to most frequent biological words. More...

#include <algo/sequence/adapter_search.hpp>

+ Collaboration diagram for NAdapterSearch::IAdapterDetector::SParams:

Public Member Functions

 SParams ()
 
bool HaveInitialSupport (size_t top_candidate_sup, size_t non_candidate_sup) const
 
bool HaveContinuedSupport (size_t top_sup, size_t prev_sup, size_t candidate_sup) const
 

Public Attributes

size_t min_support
 
size_t top_n
 
float min_init_factor
 
float min_ext_factor_adj
 
float min_ext_factor_top
 

Detailed Description

An adapter sequence is presumed to occur at least min_support times in the input, and is overrepresented by a factor of at least min_init_factor relative to most frequent biological words.

The seed word will be extended as long as it remains frequent enough and does not drop off too sharply relative to adjacent word.

Definition at line 106 of file adapter_search.hpp.

Constructor & Destructor Documentation

◆ SParams()

NAdapterSearch::IAdapterDetector::SParams::SParams ( )
inline

Definition at line 114 of file adapter_search.hpp.

Member Function Documentation

◆ HaveContinuedSupport()

bool NAdapterSearch::IAdapterDetector::SParams::HaveContinuedSupport ( size_t  top_sup,
size_t  prev_sup,
size_t  candidate_sup 
) const
inline

◆ HaveInitialSupport()

bool NAdapterSearch::IAdapterDetector::SParams::HaveInitialSupport ( size_t  top_candidate_sup,
size_t  non_candidate_sup 
) const
inline

Member Data Documentation

◆ min_ext_factor_adj

float NAdapterSearch::IAdapterDetector::SParams::min_ext_factor_adj

Definition at line 111 of file adapter_search.hpp.

Referenced by HaveContinuedSupport().

◆ min_ext_factor_top

float NAdapterSearch::IAdapterDetector::SParams::min_ext_factor_top

Definition at line 112 of file adapter_search.hpp.

Referenced by HaveContinuedSupport().

◆ min_init_factor

float NAdapterSearch::IAdapterDetector::SParams::min_init_factor

Definition at line 110 of file adapter_search.hpp.

Referenced by HaveInitialSupport().

◆ min_support

size_t NAdapterSearch::IAdapterDetector::SParams::min_support

Definition at line 108 of file adapter_search.hpp.

Referenced by HaveInitialSupport().

◆ top_n

size_t NAdapterSearch::IAdapterDetector::SParams::top_n

Definition at line 109 of file adapter_search.hpp.


The documentation for this struct was generated from the following file:
Modified on Wed Sep 04 14:59:12 2024 by modify_doxy.py rev. 669887