barry: Your go-to motif accountant
0.0-1
Full enumeration of sample space and fast count of sufficient statistics for binary arrays
col-bones.hpp
Go to the documentation of this file.
1
// #include "typedefs.hpp"
2
// #include "barray-bones.hpp"
3
4
// #ifndef BARRY_COL_BONES_HPP
5
// #define BARRY_COL_BONES_HPP 1
6
7
// template<typename Cell_Type, typename Data_Type>
8
// class BCol {
9
// protected:
10
// friend class BArray<Cell_Type,Data_Type>;
11
// Col_type<Cell_Type> * dat;
12
// bool deleted = false;
13
// public:
14
// BCol() : dat(new Col_type<Cell_Type>()) {};
15
// BCol(Col_type<Cell_Type> & dat_);
16
// BCol(BArray<Cell_Type,Data_Type> & array_, size_t col);
17
// ~BCol();
18
19
// std::vector< Cell_Type > as_vector() const;
20
// };
21
22
// template<typename Cell_Type, typename Data_Type>
23
// inline BCol<Cell_Type,Data_Type>::~BCol() {
24
// if (!deleted)
25
// delete dat;
26
// };
27
28
// template<typename Cell_Type, typename Data_Type>
29
// inline BCol<Cell_Type,Data_Type>::BCol(Col_type<Cell_Type> & dat_) {
30
// delete = true;
31
// dat = &dat_;
32
// };
33
34
// template<typename Cell_Type, typename Data_Type>
35
// inline BCol<Cell_Type,Data_Type>::BCol(
36
// BArray<Cell_Type,Data_Type> & array_, size_t col
37
// ) {
38
39
// delete = true;
40
// dat = &(array_.get_col(col));
41
42
// }
43
44
// template<typename Cell_Type, typename Data_Type>
45
// inline std::vector<Cell_Type> BCol<Cell_Type,Data_Type>::as_vector() const {
46
// std::vector<>
47
// }
48
49
// template<typename Cell_Type, typename Data_Type>
50
// class BCols {
51
// protected:
52
// friend class BArray<Cell_Type,Data_Type>;
53
// std::vector< BCol > dat;
54
// public:
55
// };
56
57
// #endif
include
barry
col-bones.hpp
Generated on Thu Nov 16 2023 23:48:35 for barry: Your go-to motif accountant by
1.9.1