gatb.core-API-0.0.0
|
Structure associating a kmer value with an abundance value. More...
#include <Model.hpp>
Public Member Functions | |
Count (const Type &val, const CountNumber &abund) | |
Count () | |
Count (const Count &val) | |
bool | operator< (const Count &other) const |
bool | operator== (const Count &other) const |
Public Member Functions inherited from Abundance< Type, CountNumber > | |
Abundance (const Type &val, const CountNumber &abund) | |
Abundance & | operator= (const Abundance &a) |
const CountNumber & | getAbundance () const |
const Type & | getValue () const |
bool | operator== (const Abundance &other) const |
Additional Inherited Members | |
Static Public Member Functions inherited from Abundance< Type, CountNumber > | |
static hid_t | hdf5 (bool &isCompound) |
Structure associating a kmer value with an abundance value.
This structure is useful for methods that counts kmer, such as the SortingCount algorithm. It is also interesting to save [kmer,abundance] in a HDF5 format.
By default, the abundance value is coded on 32 bits, so abundance up to 1<<32 can be used.
|
inline |
Constructor.
[in] | val | : integer value of the kmer |
[in] | abund | : abundance for the kmer |
|
inline |
Default constructor.
|
inline |
Comparison operator
[in] | other | : object to be compared to |
|
inline |
Equal operator
[in] | other | : object to be compared to |