Currently not in use
Class to serve as a mold to multiple stats.
This would help to maintain coherence and to ease the understanding of each of the stats.
As the number of stats grows, this standarization will become more valuable.
More...
#include <Mold.h>
Public Member Functions | |
Mold (Alignment *parentAlignment, Mold *mold) | |
Mold (Alignment *parentAlignment) | |
~Mold () | |
virtual bool | calculate () |
virtual bool | applyWindow (int halfW) |
virtual bool | isDefinedWindow () |
virtual float * | getVector () |
virtual void | printByColumn (bool calculateRelative=false) |
virtual void | printAccumulative (bool calculateRelative=false) |
Public Attributes | |
Alignment * | alig |
int | residues = -1 |
int | sequences = -1 |
int | halfWindowApplied = -1 |
float * | values = nullptr |
float * | valuesWindow = nullptr |
int * | refCounter = nullptr |
Static Public Attributes | |
static const std::string | statName = "Gaps" |
Currently not in use
Class to serve as a mold to multiple stats.
This would help to maintain coherence and to ease the understanding of each of the stats.
As the number of stats grows, this standarization will become more valuable.
Definition at line 40 of file Mold.cpp.
References alig, and refCounter.
|
explicit |
Definition at line 46 of file Mold.cpp.
References alig, and refCounter.
statistics::Mold::~Mold | ( | ) |
Definition at line 51 of file Mold.cpp.
References alig, refCounter, values, and valuesWindow.
|
virtual |
Definition at line 60 of file Mold.cpp.
References calculate(), debug, halfWindowApplied, reporting::reportManager::report(), residues, values, valuesWindow, and WindowTooBig.
|
inlinevirtual |
Definition at line 72 of file Mold.h.
Referenced by applyWindow().
|
virtual |
Definition at line 165 of file Mold.cpp.
References values, and valuesWindow.
Referenced by printAccumulative(), and printByColumn().
|
virtual |
Definition at line 161 of file Mold.cpp.
References valuesWindow.
|
virtual |
Definition at line 222 of file Mold.cpp.
References alig, utils::copyVect(), Alignment::filename, getVector(), Alignment::originalNumberOfResidues, utils::quicksort(), and statName.
|
virtual |
Definition at line 171 of file Mold.cpp.
References alig, Alignment::filename, getVector(), Alignment::originalNumberOfResidues, and statName.
Alignment* statistics::Mold::alig |
Definition at line 49 of file Mold.h.
Referenced by Mold(), printAccumulative(), printByColumn(), and ~Mold().
int statistics::Mold::halfWindowApplied = -1 |
Definition at line 54 of file Mold.h.
Referenced by applyWindow().
int* statistics::Mold::refCounter = nullptr |
int statistics::Mold::residues = -1 |
Definition at line 52 of file Mold.h.
Referenced by applyWindow().
|
static |
Definition at line 62 of file Mold.h.
Referenced by printAccumulative(), and printByColumn().
float* statistics::Mold::values = nullptr |
Definition at line 57 of file Mold.h.
Referenced by applyWindow(), getVector(), and ~Mold().
float* statistics::Mold::valuesWindow = nullptr |
Definition at line 58 of file Mold.h.
Referenced by applyWindow(), getVector(), isDefinedWindow(), and ~Mold().