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

Entries in BArray. For now, it only has two members: More...

#include <cell-bones.hpp>

Public Member Functions

 Cell ()
 
 Cell (Cell_Type value_, bool visited_=false, bool active_=true)
 
 ~Cell ()
 
 Cell (const Cell< Cell_Type > &arg)
 
Cell< Cell_Type > & operator= (const Cell< Cell_Type > &other)
 
 Cell (Cell< Cell_Type > &&arg) noexcept
 
Cell< Cell_Type > & operator= (Cell< Cell_Type > &&other) noexcept
 
void add (Cell_Type x)
 
 operator Cell_Type () const
 
bool operator== (const Cell< Cell_Type > &rhs) const
 
bool operator!= (const Cell< Cell_Type > &rhs) const
 
void add (double x)
 
void add (size_t x)
 
void add (int x)
 
 Cell ()
 
 Cell ()
 
 Cell ()
 

Public Attributes

Cell_Type value
 
bool visited
 
bool active
 

Detailed Description

template<class Cell_Type>
class Cell< Cell_Type >

Entries in BArray. For now, it only has two members:

  • value: the content
  • visited: boolean (just a convenient)

Definition at line 10 of file cell-bones.hpp.

Constructor & Destructor Documentation

◆ Cell() [1/7]

template<class Cell_Type >
Cell< Cell_Type >::Cell ( )

◆ Cell() [2/7]

template<class Cell_Type >
Cell< Cell_Type >::Cell ( Cell_Type  value_,
bool  visited_ = false,
bool  active_ = true 
)
inline

Definition at line 16 of file cell-bones.hpp.

◆ ~Cell()

template<class Cell_Type >
Cell< Cell_Type >::~Cell ( )
inline

Definition at line 18 of file cell-bones.hpp.

◆ Cell() [3/7]

template<class Cell_Type >
Cell< Cell_Type >::Cell ( const Cell< Cell_Type > &  arg)
inline

Definition at line 22 of file cell-bones.hpp.

◆ Cell() [4/7]

template<class Cell_Type >
Cell< Cell_Type >::Cell ( Cell< Cell_Type > &&  arg)
inlinenoexcept

Definition at line 29 of file cell-bones.hpp.

◆ Cell() [5/7]

Cell< double >::Cell ( )
inline

Definition at line 62 of file cell-meat.hpp.

◆ Cell() [6/7]

Cell< size_t >::Cell ( )
inline

Definition at line 63 of file cell-meat.hpp.

◆ Cell() [7/7]

Cell< int >::Cell ( )
inline

Definition at line 64 of file cell-meat.hpp.

Member Function Documentation

◆ add() [1/4]

template<class Cell_Type >
void Cell< Cell_Type >::add ( Cell_Type  x)

◆ add() [2/4]

void Cell< double >::add ( double  x)
inline

Definition at line 42 of file cell-meat.hpp.

◆ add() [3/4]

void Cell< int >::add ( int  x)
inline

Definition at line 52 of file cell-meat.hpp.

◆ add() [4/4]

void Cell< size_t >::add ( size_t  x)
inline

Definition at line 47 of file cell-meat.hpp.

◆ operator Cell_Type()

template<class Cell_Type >
Cell< Cell_Type >::operator Cell_Type ( ) const
inline

Definition at line 41 of file cell-bones.hpp.

◆ operator!=()

template<typename Cell_Type >
bool Cell< Cell_Type >::operator!= ( const Cell< Cell_Type > &  rhs) const

Definition at line 31 of file cell-meat.hpp.

◆ operator=() [1/2]

template<typename Cell_Type >
Cell< Cell_Type > & Cell< Cell_Type >::operator= ( Cell< Cell_Type > &&  other)
noexcept

Definition at line 13 of file cell-meat.hpp.

◆ operator=() [2/2]

template<typename Cell_Type >
Cell< Cell_Type > & Cell< Cell_Type >::operator= ( const Cell< Cell_Type > &  other)

Definition at line 5 of file cell-meat.hpp.

◆ operator==()

template<typename Cell_Type >
bool Cell< Cell_Type >::operator== ( const Cell< Cell_Type > &  rhs) const

Definition at line 21 of file cell-meat.hpp.

Member Data Documentation

◆ active

template<class Cell_Type >
bool Cell< Cell_Type >::active

Definition at line 14 of file cell-bones.hpp.

◆ value

template<class Cell_Type >
Cell_Type Cell< Cell_Type >::value

Definition at line 12 of file cell-bones.hpp.

◆ visited

template<class Cell_Type >
bool Cell< Cell_Type >::visited

Definition at line 13 of file cell-bones.hpp.


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