barry: Your go-to motif accountant  0.0-1
Full enumeration of sample space and fast count of sufficient statistics for binary arrays
PhyloCounterData Class Reference

#include <geese-types.hpp>

Public Member Functions

 PhyloCounterData (std::vector< size_t > data_, std::vector< double > *counters_=nullptr)
 
 PhyloCounterData ()
 
size_t at (size_t d)
 
size_t operator() (size_t d)
 
size_t operator[] (size_t d)
 
void reserve (size_t x)
 
void push_back (size_t x)
 
void shrink_to_fit ()
 
size_t size ()
 
std::vector< size_t >::iterator begin ()
 
std::vector< size_t >::iterator end ()
 
bool empty ()
 
std::vector< double > * get_counters ()
 

Detailed Description

Definition at line 44 of file geese-types.hpp.

Constructor & Destructor Documentation

◆ PhyloCounterData() [1/2]

PhyloCounterData::PhyloCounterData ( std::vector< size_t >  data_,
std::vector< double > *  counters_ = nullptr 
)
inline

Definition at line 50 of file geese-types.hpp.

◆ PhyloCounterData() [2/2]

PhyloCounterData::PhyloCounterData ( )
inline

Definition at line 55 of file geese-types.hpp.

Member Function Documentation

◆ at()

size_t PhyloCounterData::at ( size_t  d)
inline

Definition at line 57 of file geese-types.hpp.

◆ begin()

std::vector< size_t >::iterator PhyloCounterData::begin ( )
inline

Definition at line 65 of file geese-types.hpp.

◆ empty()

bool PhyloCounterData::empty ( )
inline

Definition at line 68 of file geese-types.hpp.

◆ end()

std::vector< size_t >::iterator PhyloCounterData::end ( )
inline

Definition at line 66 of file geese-types.hpp.

◆ get_counters()

std::vector< double >* PhyloCounterData::get_counters ( )
inline

Definition at line 69 of file geese-types.hpp.

◆ operator()()

size_t PhyloCounterData::operator() ( size_t  d)
inline

Definition at line 58 of file geese-types.hpp.

◆ operator[]()

size_t PhyloCounterData::operator[] ( size_t  d)
inline

Definition at line 59 of file geese-types.hpp.

◆ push_back()

void PhyloCounterData::push_back ( size_t  x)
inline

Definition at line 61 of file geese-types.hpp.

◆ reserve()

void PhyloCounterData::reserve ( size_t  x)
inline

Definition at line 60 of file geese-types.hpp.

◆ shrink_to_fit()

void PhyloCounterData::shrink_to_fit ( )
inline

Definition at line 62 of file geese-types.hpp.

◆ size()

size_t PhyloCounterData::size ( )
inline

Definition at line 63 of file geese-types.hpp.


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