Go to the documentation of this file.Go to the SVN repository for this file.
57 if (prior_count == 0) {
67 if (length > curr_mean) {
68 const TSeqPos len_diff = length - curr_mean;
69 SetMean(curr_mean + len_diff / (prior_count + 1));
72 const TSeqPos len_diff = curr_mean - length;
73 SetMean(curr_mean - len_diff / (prior_count + 1));
User-defined methods of the data storage class.
void Add(TSeqPos length, Uint8 prior_count=0)
unsigned int TSeqPos
Type for sequence locations and lengths.
uint64_t Uint8
8-byte (64-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
TMax GetMax(void) const
Get the Max member data.
TMean GetMean(void) const
Get the Mean member data.
TMax & SetMax(void)
Assign a value to Max data member.
TMean & SetMean(void)
Assign a value to Mean data member.
TMin GetMin(void) const
Get the Min member data.
TMin & SetMin(void)
Assign a value to Min data member.