Go to the documentation of this file.Go to the SVN repository for this file.
33 #ifndef C_SEQ_MASKER_SCORE_H
34 #define C_SEQ_MASKER_SCORE_H
66 : window( 0 ), ustat( arg_ustat ) {}
120 { window = &new_window;
Init(); }
Abstract base class for score function objects.
virtual void Init()=0
Initialize the object.
virtual void PreAdvance(Uint4 step)=0
Window advancement notification.
const CRef< CSeqMaskerIstat > & ustat
Unit score statistics that should be used by the score function object.
virtual Uint4 operator()()=0
Get the score of the current window.
CSeqMaskerScore(const CRef< CSeqMaskerIstat > &arg_ustat)
Object constructor.
virtual ~CSeqMaskerScore()
Object destructor.
void SetWindow(const CSeqMaskerWindow &new_window)
Set the window object that should be used for score computation.
const CSeqMaskerWindow * window
Points to the window information object.
virtual void PostAdvance(Uint4 step)=0
Window advancement notification.
Sliding window skipping over the ambiguities.
uint32_t Uint4
4-byte (32-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_XALGOWINMASK_EXPORT
Defines Limits for the types used in NCBI C/C++ toolkit.