Public Attributes | Protected Attributes

MGT::KmerStateData Class Reference

Payload data class for KmerState. More...

#include <kmers.hpp>

List of all members.

Public Attributes

ULong count
 k-mer count.

Protected Attributes

PKmerState m_pState
 Pointer to the owning KmerState object.
KmerId m_id
 ID of k-mer, cached here from m_pState to avoid pointer dereferencing during sorting.

Detailed Description

Payload data class for KmerState.

Separate class for payload allows lazy allocation of that data. The main reason is to have as few payload objects as we actually saw k-mers in the input. This in turn will allow extraction of k-mer counts in time which does not depend on the size of k-mer space (k-mer length).


Member Data Documentation

k-mer count.

KmerId MGT::KmerStateData::m_id [protected]

ID of k-mer, cached here from m_pState to avoid pointer dereferencing during sorting.

Pointer to the owning KmerState object.


The documentation for this class was generated from the following file: