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

A wrapper class to store source, target, val from a BArray object. More...

#include <typedefs.hpp>

Public Member Functions

 Entries ()
 
 Entries (size_t n)
 
 ~Entries ()
 
void resize (size_t n)
 

Public Attributes

std::vector< size_t > source
 
std::vector< size_t > target
 
std::vector< Cell_Type > val
 

Detailed Description

template<typename Cell_Type>
class Entries< Cell_Type >

A wrapper class to store source, target, val from a BArray object.

Template Parameters
Cell_TypeAny type

Definition at line 78 of file typedefs.hpp.

Constructor & Destructor Documentation

◆ Entries() [1/2]

template<typename Cell_Type >
Entries< Cell_Type >::Entries ( )
inline

Definition at line 84 of file typedefs.hpp.

◆ Entries() [2/2]

template<typename Cell_Type >
Entries< Cell_Type >::Entries ( size_t  n)
inline

Definition at line 85 of file typedefs.hpp.

◆ ~Entries()

template<typename Cell_Type >
Entries< Cell_Type >::~Entries ( )
inline

Definition at line 92 of file typedefs.hpp.

Member Function Documentation

◆ resize()

template<typename Cell_Type >
void Entries< Cell_Type >::resize ( size_t  n)
inline

Definition at line 94 of file typedefs.hpp.

Member Data Documentation

◆ source

template<typename Cell_Type >
std::vector< size_t > Entries< Cell_Type >::source

Definition at line 80 of file typedefs.hpp.

◆ target

template<typename Cell_Type >
std::vector< size_t > Entries< Cell_Type >::target

Definition at line 81 of file typedefs.hpp.

◆ val

template<typename Cell_Type >
std::vector< Cell_Type > Entries< Cell_Type >::val

Definition at line 82 of file typedefs.hpp.


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