35 |
* \param i is the identifier of the length group |
* \param i is the identifier of the length group |
36 |
* \return the mean length of the length group |
* \return the mean length of the length group |
37 |
*/ |
*/ |
38 |
double meanLength(int i) const; |
double meanLength(int i) const { |
39 |
|
if (i >= size) |
40 |
|
return meanlength[size - 1]; |
41 |
|
return meanlength[i]; |
42 |
|
}; |
43 |
/** |
/** |
44 |
* \brief This function will return the minimum length of a specified length group |
* \brief This function will return the minimum length of a specified length group |
45 |
* \param i is the identifier of the length group |
* \param i is the identifier of the length group |
97 |
* \param outfile is the ofstream that the information gets sent to |
* \param outfile is the ofstream that the information gets sent to |
98 |
*/ |
*/ |
99 |
void Print(ofstream& outfile) const; |
void Print(ofstream& outfile) const; |
100 |
|
/** |
101 |
|
* \brief This function initialize the meanLength vector |
102 |
|
* \param maxlengthgroupgrowth max length of the meanLength vector |
103 |
|
* \param tmpPower the power term of the length |
104 |
|
*/ |
105 |
|
double* const meanlengthvecPow_initilize( int maxlengthgroupgrowth, double tmpPower) const; |
106 |
protected: |
protected: |
107 |
/** |
/** |
108 |
* \brief This is the flag to denote whether an error has occured or not |
* \brief This is the flag to denote whether an error has occured or not |
132 |
* \brief This is the DoubleVector of the minimum lengths for each length group |
* \brief This is the DoubleVector of the minimum lengths for each length group |
133 |
*/ |
*/ |
134 |
DoubleVector minlength; |
DoubleVector minlength; |
135 |
|
|
136 |
}; |
}; |
137 |
|
|
138 |
/** |
/** |