gatb.core-API-0.0.0
PartiInfo< xmer > Class Template Reference

#include <PartiInfo.hpp>

Public Member Functions

PartiInfoadd (const PartiInfo &other)
 
PartiInfoadd_sync (const PartiInfo &other)
 
u_int64_t getNbKmer (int numpart, int radix, int xx) const
 
 PartiInfo (int nbpart, int minimsize)
 
 PartiInfo (const PartiInfo &cr)
 
 ~PartiInfo ()
 

Detailed Description

template<size_t xmer>
class gatb::core::kmer::impl::PartiInfo< xmer >

class containing info of each parti : exact number of kmers per parti

will be computed by fillparti, then used by fillsolids needed beacause the exact number of kmers per parti can no longer be inferred from partition file size xmer ==1 –> only k0 mer (xmer == nb max of kmers in kx mer, not the x k1 mer == 2 kmers max in k1 mer)

Constructor & Destructor Documentation

PartiInfo ( int  nbpart,
int  minimsize 
)
inline

Constructor.

PartiInfo ( const PartiInfo< xmer > &  cr)
inline

Constructor (copy). Needed for fillparti class.

~PartiInfo ( )
inline

Destructor.

Member Function Documentation

PartiInfo& add ( const PartiInfo< xmer > &  other)
inline

Adds count to *this from other

PartiInfo& add_sync ( const PartiInfo< xmer > &  other)
inline

Adds count to *this from other while preventing concurrent access to *this

u_int64_t getNbKmer ( int  numpart,
int  radix,
int  xx 
) const
inline

Get nbk in bin radix of parti numpart


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