Rule for determining if a cell should be included in a sequence.
More...
#include <rules-bones.hpp>
template<typename Array_Type = BArray<>, typename Data_Type = bool>
class Rule< Array_Type, Data_Type >
Rule for determining if a cell should be included in a sequence.
Rules can be used together with Support
and PowerSet
to determine which cells should be included when enumerating all possible realizations of a binary array.
- Template Parameters
-
Array_Type | An object of class BArray . |
Data_Type | Any type. |
Definition at line 20 of file rules-bones.hpp.
◆ Rule() [1/2]
template<typename Array_Type = BArray<>, typename Data_Type = bool>
◆ Rule() [2/2]
template<typename Array_Type = BArray<>, typename Data_Type = bool>
Rule< Array_Type, Data_Type >::Rule |
( |
Rule_fun_type< Array_Type, Data_Type > |
fun_, |
|
|
Data_Type |
dat_, |
|
|
std::string |
name_ = "" , |
|
|
std::string |
desc_ = "" |
|
) |
| |
|
inline |
◆ ~Rule()
template<typename Array_Type = BArray<>, typename Data_Type = bool>
Rule< Array_Type, Data_Type >::~Rule |
( |
| ) |
|
|
inline |
◆ D()
template<typename Array_Type , typename Data_Type >
Data_Type & Rule< Array_Type, Data_Type >::D |
|
inline |
◆ get_description() [1/2]
template<typename Array_Type , typename Data_Type >
std::string & Rule< Array_Type, Data_Type >::get_description |
|
inline |
◆ get_description() [2/2]
template<typename Array_Type , typename Data_Type >
std::string Rule< Array_Type, Data_Type >::get_description |
|
inline |
◆ get_name() [1/2]
template<typename Array_Type , typename Data_Type >
std::string & Rule< Array_Type, Data_Type >::get_name |
|
inline |
◆ get_name() [2/2]
template<typename Array_Type , typename Data_Type >
std::string Rule< Array_Type, Data_Type >::get_name |
|
inline |
◆ operator()()
template<typename Array_Type , typename Data_Type >
bool Rule< Array_Type, Data_Type >::operator() |
( |
const Array_Type & |
a, |
|
|
size_t |
i, |
|
|
size_t |
j |
|
) |
| |
|
inline |
The documentation for this class was generated from the following files: