Skip to content

File barry.hpp

FileList > barry > barry.hpp

Go to the source code of this file

  • #include <iostream>
  • #include <cstdarg>
  • #include <vector>
  • #include <unordered_map>
  • #include <functional>
  • #include <stdexcept>
  • #include <cmath>
  • #include <map>
  • #include <algorithm>
  • #include <utility>
  • #include <random>
  • #include <climits>
  • #include <cfloat>
  • #include <string>
  • #include <cstdint>
  • #include <memory>
  • #include <regex>
  • #include <iterator>
  • #include "typedefs.hpp"
  • #include "barry-macros.hpp"
  • #include "freqtable.hpp"
  • #include "cell-bones.hpp"
  • #include "cell-meat.hpp"
  • #include "barray-bones.hpp"
  • #include "barraycell-bones.hpp"
  • #include "barray-meat.hpp"
  • #include "barraycell-meat.hpp"
  • #include "barray-meat-operators.hpp"
  • #include "barraydense-bones.hpp"
  • #include "barraydensecell-bones.hpp"
  • #include "barraydenserow-bones.hpp"
  • #include "barraydensecol-bones.hpp"
  • #include "barraydense-meat.hpp"
  • #include "barraydensecell-meat.hpp"
  • #include "barraydense-meat-operators.hpp"
  • #include "counters-bones.hpp"
  • #include "counters-meat.hpp"
  • #include "statscounter-bones.hpp"
  • #include "statscounter-meat.hpp"
  • #include "support-bones.hpp"
  • #include "support-meat.hpp"
  • #include "powerset-bones.hpp"
  • #include "powerset-meat.hpp"
  • #include "model-bones.hpp"
  • #include "model-meat.hpp"
  • #include "rules-bones.hpp"
  • #include "rules-meat.hpp"
  • #include "counters/network.hpp"

Namespaces

Type Name
namespace barry
barry: Your go-to motif accountant
namespace CHECK
Integer constants used to specify which cell should be check.
namespace EXISTS
Integer constants used to specify which cell should be check to exist or not.
namespace counters
namespace network

Classes

Type Name
class BArray <typename Cell_Type, typename Data_Type>
Baseline class for binary arrays.
class BArrayCell <typename Cell_Type, typename Data_Type>
class BArrayCell_const <typename Cell_Type, typename Data_Type>
class BArrayDense <typename Cell_Type, typename Data_Type>
Baseline class for binary arrays.
class BArrayDenseCell <typename Cell_Type, typename Data_Type>
class BArrayDenseCol <typename Cell_Type, typename Data_Type>
class BArrayDenseCol_const <typename Cell_Type, typename Data_Type>
class BArrayDenseRow <typename Cell_Type, typename Data_Type>
class BArrayDenseRow_const <typename Cell_Type, typename Data_Type>
class Cell <class Cell_Type>
Entries inBArray . For now, it only has two members:
class Counter <typename Array_Type, typename Data_Type>
A counter function based on change statistics.
class Counters <typename Array_Type, typename Data_Type>
Vector of counters.
class Entries <typename Cell_Type>
A wrapper class to store source ,target ,val from aBArray object.
class FreqTable <typename T>
Frequency table of vectors.
class Model <typename Array_Type, typename Data_Counter_Type, typename Data_Rule_Type, typename Data_Rule_Dyn_Type>
General framework for discrete exponential models. This class allows generating discrete exponential models in the form of a linear exponential model:
struct SampleApproxState
Persistent state of an approximate sampler.
class PowerSet <typename Array_Type, typename Data_Rule_Type>
Powerset of a binary array.
class Progress
A simple progress bar.
class Rule <typename Array_Type, typename Data_Type>
Rule for determining if a cell should be included in a sequence.
class Rules <typename Array_Type, typename Data_Type>
Vector of objects of class Rule .
class StatsCounter <typename Array_Type, typename Data_Type>
Count stats for a single Array.
class Support <typename Array_Type, typename Data_Counter_Type, typename Data_Rule_Type, typename Data_Rule_Dyn_Type>
Compute the support of sufficient statistics.
class NetCounterData
Data class used to store arbitrary size_t or double vectors.
class NetworkData
Data class for Networks.
struct vecHasher <typename T>

Public Static Attributes

Type Name
const int barry_version_major = [**BARRY\_VERSION\_MAYOR**](barry_8hpp.md#define-barry_version_mayor)
const int barry_version_minor = [**BARRY\_VERSION\_MINOR**](barry_8hpp.md#define-barry_version_minor)
const int barry_version_patch = [**BARRY\_VERSION\_PATCH**](barry_8hpp.md#define-barry_version_patch)

Macros

Type Name
define BARRAY_BONES_HPP 1
define BARRAY_NETWORK_H 1
define BARRAY_TEMPLATE (a, b) template [**BARRAY\_TEMPLATE\_ARGS**](barry_8hpp.md#define-barray_template_args)() inline a [**BARRAY\_TYPE**](barry_8hpp.md#define-barray_type)()::b
define BARRAY_TEMPLATE_ARGS () &lt;typename Cell\_Type, typename Data\_Type&gt;
define BARRAY_TYPE () [**BArray**](classBArray.md)&lt;Cell\_Type, Data\_Type&gt;
define BARRY_BARRAYCELL_BONES_HPP 1
define BARRY_BARRAYCELL_MEAT_HPP 1
define BARRY_BARRAYDENSECELL_BONES_HPP 1
define BARRY_BARRAYDENSECELL_MEAT_HPP 1
define BARRY_BARRAYDENSECOL_BONES
define BARRY_BARRAYDENSEROW_BONES_HPP
define BARRY_BARRAYDENSE_BONES_HPP 1
define BARRY_BARRAYDENSE_MEAT_HPP
define BARRY_BARRAYDENSE_MEAT_OPERATORS_HPP 1
define BARRY_BARRAY_MEAT_HPP
define BARRY_BARRAY_MEAT_OPERATORS_HPP 1
define BARRY_BARRY_MACROS_HPP
define BARRY_CELL_BONES_HPP 1
define BARRY_CELL_MEAT_HPP 1
define BARRY_CHECK_SUPPORT (x, maxs)
define BARRY_CONFIGURATION_HPP
define BARRY_COUNTERS_BONES_HPP 1
define BARRY_COUNTERS_MEAT_HPP 1
define BARRY_DEBUG_HPP
define BARRY_DEBUG_LEVEL 0
define BARRY_HPP
define BARRY_ISFINITE (a)
define BARRY_MAX_NUM_ELEMENTS static\_cast&lt; size\_t &gt;(std::numeric\_limits&lt; size\_t &gt;::max() /2u)
define BARRY_MODEL_BONES_HPP 1
define BARRY_MODEL_MEAT_HPP 1
define BARRY_NCORES_ARG (default) size\_t ncores default
define BARRY_ONE [**Cell**](classCell.md)&lt;Cell\_Type&gt;(1.0)
define BARRY_ONE_DENSE static\_cast&lt;Cell\_Type&gt;(1.0)
define BARRY_POWERSET_BONES_HPP 1
define BARRY_POWERSET_MEAT_HPP 1
define BARRY_PROGRESS_BAR_WIDTH 80
define BARRY_PROGRESS_HPP
define BARRY_RULES_BONES_HPP 1
define BARRY_RULES_MEAT_HPP 1
define BARRY_SAFE_EXP -100.0
define BARRY_STATSCOUNTER_BONES_HPP 1
define BARRY_STATSCOUNTER_MEAT_HPP 1
define BARRY_STATSDB_HPP 1
define BARRY_SUPPORT_BONES_HPP 1
define BARRY_SUPPORT_MEAT_HPP 1
define BARRY_TYPEDEFS_HPP 1
Tree class and TreeIterator class.
define BARRY_UNUSED (expr) do { (void)(expr); } while (0);
define BARRY_VERSION [**BARRY\_VERSION\_MAYOR**](barry_8hpp.md#define-barry_version_mayor) ## . ## [**BARRY\_VERSION\_MINOR**](barry_8hpp.md#define-barry_version_minor) ## . ## [**BARRY\_VERSION\_PATCH**](barry_8hpp.md#define-barry_version_patch)
define BARRY_VERSION_MAYOR 0
define BARRY_VERSION_MINOR 4
define BARRY_VERSION_PATCH 0
define BARRY_ZERO [**Cell**](classCell.md)&lt;Cell\_Type&gt;(0.0)
define BARRY_ZERO_DENSE static\_cast&lt;Cell\_Type&gt;(0.0)
define BARRY_ZERO_NETWORK 0.0
define BARRY_ZERO_NETWORK_DENSE 0
define BDENSE_TEMPLATE (a, b) template [**BDENSE\_TEMPLATE\_ARGS**](barry_8hpp.md#define-bdense_template_args)() inline a [**BDENSE\_TYPE**](barry_8hpp.md#define-bdense_type)()::b
define BDENSE_TEMPLATE_ARGS () &lt;typename Cell\_Type, typename Data\_Type&gt;
define BDENSE_TYPE () [**BArrayDense**](classBArrayDense.md)&lt;Cell\_Type, Data\_Type&gt;
define COL (a) [**this**](barray-meat-operators_8hpp.md#variable-this)-&gt;el\_ji[a]
define COL (a) [**this**](barray-meat-operators_8hpp.md#variable-this)-&gt;el\_ji[a]
define COL (a) [**this**](barray-meat-operators_8hpp.md#variable-this)-&gt;el\_ji[a]
define COL (a) [**this**](barray-meat-operators_8hpp.md#variable-this)-&gt;el\_ji[a]
define COUNTERS_TEMPLATE (a, b) template [**COUNTERS\_TEMPLATE\_ARGS**](barry_8hpp.md#define-counters_template_args)() inline a [**COUNTERS\_TYPE**](barry_8hpp.md#define-counters_type)()::b
define COUNTERS_TEMPLATE_ARGS () &lt;typename Array\_Type, typename Data\_Type&gt;
define COUNTERS_TYPE () [**Counters**](classCounters.md)&lt;Array\_Type,Data\_Type&gt;
define COUNTER_FUNCTION (a) /* multi line expression */
define COUNTER_LAMBDA (a) /* multi line expression */
define COUNTER_TEMPLATE (a, b) template [**COUNTER\_TEMPLATE\_ARGS**](barry_8hpp.md#define-counter_template_args)() inline a [**COUNTER\_TYPE**](barry_8hpp.md#define-counter_type)()::b
define COUNTER_TEMPLATE_ARGS () &lt;typename Array\_Type, typename Data\_Type&gt;
define COUNTER_TYPE () [**Counter**](classCounter.md)&lt;Array\_Type,Data\_Type&gt;
define CSS_APPEND (name) /* multi line expression */
define CSS_CASE_ELSE ()
define CSS_CASE_PERCEIVED () [**else**](model-meat_8hpp.md#variable-else) [**if**](counters-meat_8hpp.md#function-if) ((([**i**](counters-meat_8hpp.md#variable-i) &gt;= s) && ([**i**](counters-meat_8hpp.md#variable-i) &lt; e)) & (([**j**](counters-meat_8hpp.md#variable-j) &gt;= s) && ([**j**](counters-meat_8hpp.md#variable-j) &lt; e)))
define CSS_CASE_TRUTH () [**if**](counters-meat_8hpp.md#function-if) (([**i**](counters-meat_8hpp.md#variable-i) &lt; [**n**](model-meat_8hpp.md#variable-n)) && ([**j**](counters-meat_8hpp.md#variable-j) &lt; [**n**](model-meat_8hpp.md#variable-n)))
define CSS_CHECK_SIZE () /* multi line expression */
define CSS_CHECK_SIZE_INIT () /* multi line expression */
define CSS_MATCH_TYPE () /* multi line expression */
define CSS_NET_COUNTER_LAMBDA_INIT () /* multi line expression */
define CSS_PERCEIVED_CELLS () /* multi line expression */
define CSS_SIZE () /* multi line expression */
define CSS_TRUE_CELLS () /* multi line expression */
define MODEL_TEMPLATE (a, b) /* multi line expression */
define MODEL_TEMPLATE_ARGS () &lt;Array\_Type,Data\_Counter\_Type,Data\_Rule\_Type,Data\_Rule\_Dyn\_Type&gt;
define MODEL_TYPE () [**Model**](classModel.md) [**MODEL\_TEMPLATE\_ARGS**](barry_8hpp.md#define-model_template_args)()
define NETWORKDENSE_COUNTER_LAMBDA (a) /* multi line expression */
define NETWORK_COUNTER (a) /* multi line expression */
define NETWORK_COUNTER_LAMBDA (a) /* multi line expression */
define NETWORK_RULE (a) /* multi line expression */
define NETWORK_RULE_LAMBDA (a) /* multi line expression */
define NET_C_DATA_IDX (i) (data.indices[[**i**](counters-meat_8hpp.md#variable-i)])
define NET_C_DATA_NUM (i) (data.numbers[[**i**](counters-meat_8hpp.md#variable-i)])
define POS (a, b) (a) + (b) \* N
define POS (a, b) (b) \* N + (a)
define POS (a, b) (b)\*N + (a)
define POS (a, b) (b)\*N + (a)
define POS (a, b) (a) + (b) \* dat-&gt;N
define POS (a, b) (b)\*N + (a)
define POS_N (a, b, c) (b)\*(c) + (a)
define POS_N (a, b, c) (b)\*(c) + (a)
define POS_N (a, b, c) (b)\*(c) + (a)
define POS_N (a, b, c) (b)\*(c) + (a)
define ROW (a) [**this**](barray-meat-operators_8hpp.md#variable-this)-&gt;el\_ij[a]
define ROW (a) [**this**](barray-meat-operators_8hpp.md#variable-this)-&gt;el\_ij[a]
define ROW (a) [**this**](barray-meat-operators_8hpp.md#variable-this)-&gt;el\_ij[a]
define ROW (a) [**this**](barray-meat-operators_8hpp.md#variable-this)-&gt;el\_ij[a]
define RULE_FUNCTION (a) /* multi line expression */
define RULE_LAMBDA (a) /* multi line expression */
define STATSCOUNTER_TEMPLATE (a, b) template [**STATSCOUNTER\_TEMPLATE\_ARGS**](barry_8hpp.md#define-statscounter_template_args)() inline a [**STATSCOUNTER\_TYPE**](barry_8hpp.md#define-statscounter_type)()::b
define STATSCOUNTER_TEMPLATE_ARGS () &lt;typename Array\_Type, typename Data\_Type&gt;
define STATSCOUNTER_TYPE () [**StatsCounter**](classStatsCounter.md)&lt;Array\_Type,Data\_Type&gt;
define TMP_HASHER_CALL [**Hasher\_fun\_type**](typedefs_8hpp.md#typedef-hasher_fun_type)&lt;Array\_Type,Data\_Type&gt;
define ZERO_CELL static\_cast&lt; Cell\_Type &gt;(0.0)
define ZERO_CELL static\_cast&lt;Cell\_Type&gt;(0.0)
define ZERO_CELL static\_cast&lt;Cell\_Type&gt;(0.0)
define printf_barry printf

Public Static Attributes Documentation

variable barry_version_major

const int barry_version_major;

variable barry_version_minor

const int barry_version_minor;

variable barry_version_patch

const int barry_version_patch;

Macro Definition Documentation

define BARRAY_BONES_HPP

#define BARRAY_BONES_HPP `1`

define BARRAY_NETWORK_H

#define BARRAY_NETWORK_H `1`

define BARRAY_TEMPLATE

#define BARRAY_TEMPLATE (
    a,
    b
) `template BARRAY_TEMPLATE_ARGS () inline a BARRAY_TYPE ()::b`

define BARRAY_TEMPLATE_ARGS

#define BARRAY_TEMPLATE_ARGS (

) `<typename Cell_Type, typename Data_Type>`

define BARRAY_TYPE

#define BARRAY_TYPE (

) `BArray <Cell_Type, Data_Type>`

define BARRY_BARRAYCELL_BONES_HPP

#define BARRY_BARRAYCELL_BONES_HPP `1`

define BARRY_BARRAYCELL_MEAT_HPP

#define BARRY_BARRAYCELL_MEAT_HPP `1`

define BARRY_BARRAYDENSECELL_BONES_HPP

#define BARRY_BARRAYDENSECELL_BONES_HPP `1`

define BARRY_BARRAYDENSECELL_MEAT_HPP

#define BARRY_BARRAYDENSECELL_MEAT_HPP `1`

define BARRY_BARRAYDENSECOL_BONES

#define BARRY_BARRAYDENSECOL_BONES 

define BARRY_BARRAYDENSEROW_BONES_HPP

#define BARRY_BARRAYDENSEROW_BONES_HPP 

define BARRY_BARRAYDENSE_BONES_HPP

#define BARRY_BARRAYDENSE_BONES_HPP `1`

define BARRY_BARRAYDENSE_MEAT_HPP

#define BARRY_BARRAYDENSE_MEAT_HPP 

define BARRY_BARRAYDENSE_MEAT_OPERATORS_HPP

#define BARRY_BARRAYDENSE_MEAT_OPERATORS_HPP `1`

define BARRY_BARRAY_MEAT_HPP

#define BARRY_BARRAY_MEAT_HPP 

define BARRY_BARRAY_MEAT_OPERATORS_HPP

#define BARRY_BARRAY_MEAT_OPERATORS_HPP `1`

define BARRY_BARRY_MACROS_HPP

#define BARRY_BARRY_MACROS_HPP 

define BARRY_CELL_BONES_HPP

#define BARRY_CELL_BONES_HPP `1`

define BARRY_CELL_MEAT_HPP

#define BARRY_CELL_MEAT_HPP `1`

define BARRY_CHECK_SUPPORT

#define BARRY_CHECK_SUPPORT (
    x,
    maxs
) 

define BARRY_CONFIGURATION_HPP

#define BARRY_CONFIGURATION_HPP 

define BARRY_COUNTERS_BONES_HPP

#define BARRY_COUNTERS_BONES_HPP `1`

define BARRY_COUNTERS_MEAT_HPP

#define BARRY_COUNTERS_MEAT_HPP `1`

define BARRY_DEBUG_HPP

#define BARRY_DEBUG_HPP 

define BARRY_DEBUG_LEVEL

#define BARRY_DEBUG_LEVEL `0`

define BARRY_HPP

#define BARRY_HPP 

define BARRY_ISFINITE

#define BARRY_ISFINITE (
    a
) 

define BARRY_MAX_NUM_ELEMENTS

#define BARRY_MAX_NUM_ELEMENTS `static_cast< size_t >(std::numeric_limits< size_t >::max() /2u)`

define BARRY_MODEL_BONES_HPP

#define BARRY_MODEL_BONES_HPP `1`

define BARRY_MODEL_MEAT_HPP

#define BARRY_MODEL_MEAT_HPP `1`

define BARRY_NCORES_ARG

#define BARRY_NCORES_ARG (
    default
) `size_t ncores default`

define BARRY_ONE

#define BARRY_ONE `Cell <Cell_Type>(1.0)`

define BARRY_ONE_DENSE

#define BARRY_ONE_DENSE `static_cast<Cell_Type>(1.0)`

define BARRY_POWERSET_BONES_HPP

#define BARRY_POWERSET_BONES_HPP `1`

define BARRY_POWERSET_MEAT_HPP

#define BARRY_POWERSET_MEAT_HPP `1`

define BARRY_PROGRESS_BAR_WIDTH

#define BARRY_PROGRESS_BAR_WIDTH `80`

define BARRY_PROGRESS_HPP

#define BARRY_PROGRESS_HPP 

define BARRY_RULES_BONES_HPP

#define BARRY_RULES_BONES_HPP `1`

define BARRY_RULES_MEAT_HPP

#define BARRY_RULES_MEAT_HPP `1`

define BARRY_SAFE_EXP

#define BARRY_SAFE_EXP `-100.0`

define BARRY_STATSCOUNTER_BONES_HPP

#define BARRY_STATSCOUNTER_BONES_HPP `1`

define BARRY_STATSCOUNTER_MEAT_HPP

#define BARRY_STATSCOUNTER_MEAT_HPP `1`

define BARRY_STATSDB_HPP

#define BARRY_STATSDB_HPP `1`

define BARRY_SUPPORT_BONES_HPP

#define BARRY_SUPPORT_BONES_HPP `1`

define BARRY_SUPPORT_MEAT_HPP

#define BARRY_SUPPORT_MEAT_HPP `1`

define BARRY_TYPEDEFS_HPP

Tree class and TreeIterator class.

#define BARRY_TYPEDEFS_HPP `1`


define BARRY_UNUSED

#define BARRY_UNUSED (
    expr
) `do { (void)(expr); } while (0);`

define BARRY_VERSION

#define BARRY_VERSION `BARRY_VERSION_MAYOR ## . ## BARRY_VERSION_MINOR ## . ## BARRY_VERSION_PATCH`

define BARRY_VERSION_MAYOR

#define BARRY_VERSION_MAYOR `0`

define BARRY_VERSION_MINOR

#define BARRY_VERSION_MINOR `4`

define BARRY_VERSION_PATCH

#define BARRY_VERSION_PATCH `0`

define BARRY_ZERO

#define BARRY_ZERO `Cell <Cell_Type>(0.0)`

define BARRY_ZERO_DENSE

#define BARRY_ZERO_DENSE `static_cast<Cell_Type>(0.0)`

define BARRY_ZERO_NETWORK

#define BARRY_ZERO_NETWORK `0.0`

define BARRY_ZERO_NETWORK_DENSE

#define BARRY_ZERO_NETWORK_DENSE `0`

define BDENSE_TEMPLATE

#define BDENSE_TEMPLATE (
    a,
    b
) `template BDENSE_TEMPLATE_ARGS () inline a BDENSE_TYPE ()::b`

define BDENSE_TEMPLATE_ARGS

#define BDENSE_TEMPLATE_ARGS (

) `<typename Cell_Type, typename Data_Type>`

define BDENSE_TYPE

#define BDENSE_TYPE (

) `BArrayDense <Cell_Type, Data_Type>`

define COL

#define COL (
    a
) `this ->el_ji[a]`

define COL

#define COL (
    a
) `this ->el_ji[a]`

define COL

#define COL (
    a
) `this ->el_ji[a]`

define COL

#define COL (
    a
) `this ->el_ji[a]`

define COUNTERS_TEMPLATE

#define COUNTERS_TEMPLATE (
    a,
    b
) `template COUNTERS_TEMPLATE_ARGS () inline a COUNTERS_TYPE ()::b`

define COUNTERS_TEMPLATE_ARGS

#define COUNTERS_TEMPLATE_ARGS (

) `<typename Array_Type, typename Data_Type>`

define COUNTERS_TYPE

#define COUNTERS_TYPE (

) `Counters <Array_Type,Data_Type>`

define COUNTER_FUNCTION

#define COUNTER_FUNCTION (
    a
) `/* multi line expression */`

define COUNTER_LAMBDA

#define COUNTER_LAMBDA (
    a
) `/* multi line expression */`

define COUNTER_TEMPLATE

#define COUNTER_TEMPLATE (
    a,
    b
) `template COUNTER_TEMPLATE_ARGS () inline a COUNTER_TYPE ()::b`

define COUNTER_TEMPLATE_ARGS

#define COUNTER_TEMPLATE_ARGS (

) `<typename Array_Type, typename Data_Type>`

define COUNTER_TYPE

#define COUNTER_TYPE (

) `Counter <Array_Type,Data_Type>`

define CSS_APPEND

#define CSS_APPEND (
    name
) `/* multi line expression */`

define CSS_CASE_ELSE

#define CSS_CASE_ELSE (

) 

define CSS_CASE_PERCEIVED

#define CSS_CASE_PERCEIVED (

) `else  if ((( i >= s) && ( i < e)) & (( j >= s) && ( j < e)))`

define CSS_CASE_TRUTH

#define CSS_CASE_TRUTH (

) `if (( i < n ) && ( j < n ))`

define CSS_CHECK_SIZE

#define CSS_CHECK_SIZE (

) `/* multi line expression */`

define CSS_CHECK_SIZE_INIT

#define CSS_CHECK_SIZE_INIT (

) `/* multi line expression */`

define CSS_MATCH_TYPE

#define CSS_MATCH_TYPE (

) `/* multi line expression */`

define CSS_NET_COUNTER_LAMBDA_INIT

#define CSS_NET_COUNTER_LAMBDA_INIT (

) `/* multi line expression */`

define CSS_PERCEIVED_CELLS

#define CSS_PERCEIVED_CELLS (

) `/* multi line expression */`

define CSS_SIZE

#define CSS_SIZE (

) `/* multi line expression */`

define CSS_TRUE_CELLS

#define CSS_TRUE_CELLS (

) `/* multi line expression */`

define MODEL_TEMPLATE

#define MODEL_TEMPLATE (
    a,
    b
) `/* multi line expression */`

define MODEL_TEMPLATE_ARGS

#define MODEL_TEMPLATE_ARGS (

) `<Array_Type,Data_Counter_Type,Data_Rule_Type,Data_Rule_Dyn_Type>`

define MODEL_TYPE

#define MODEL_TYPE (

) `Model  MODEL_TEMPLATE_ARGS ()`

define NETWORKDENSE_COUNTER_LAMBDA

#define NETWORKDENSE_COUNTER_LAMBDA (
    a
) `/* multi line expression */`

define NETWORK_COUNTER

#define NETWORK_COUNTER (
    a
) `/* multi line expression */`

define NETWORK_COUNTER_LAMBDA

#define NETWORK_COUNTER_LAMBDA (
    a
) `/* multi line expression */`

define NETWORK_RULE

#define NETWORK_RULE (
    a
) `/* multi line expression */`

define NETWORK_RULE_LAMBDA

#define NETWORK_RULE_LAMBDA (
    a
) `/* multi line expression */`

define NET_C_DATA_IDX

#define NET_C_DATA_IDX (
    i
) `(data.indices[ i ])`

define NET_C_DATA_NUM

#define NET_C_DATA_NUM (
    i
) `(data.numbers[ i ])`

define POS

#define POS (
    a,
    b
) `(a) + (b) * N`

define POS

#define POS (
    a,
    b
) `(b) * N + (a)`

define POS

#define POS (
    a,
    b
) `(b)*N + (a)`

define POS

#define POS (
    a,
    b
) `(b)*N + (a)`

define POS

#define POS (
    a,
    b
) `(a) + (b) * dat->N`

define POS

#define POS (
    a,
    b
) `(b)*N + (a)`

define POS_N

#define POS_N (
    a,
    b,
    c
) `(b)*(c) + (a)`

define POS_N

#define POS_N (
    a,
    b,
    c
) `(b)*(c) + (a)`

define POS_N

#define POS_N (
    a,
    b,
    c
) `(b)*(c) + (a)`

define POS_N

#define POS_N (
    a,
    b,
    c
) `(b)*(c) + (a)`

define ROW

#define ROW (
    a
) `this ->el_ij[a]`

define ROW

#define ROW (
    a
) `this ->el_ij[a]`

define ROW

#define ROW (
    a
) `this ->el_ij[a]`

define ROW

#define ROW (
    a
) `this ->el_ij[a]`

define RULE_FUNCTION

#define RULE_FUNCTION (
    a
) `/* multi line expression */`

define RULE_LAMBDA

#define RULE_LAMBDA (
    a
) `/* multi line expression */`

define STATSCOUNTER_TEMPLATE

#define STATSCOUNTER_TEMPLATE (
    a,
    b
) `template STATSCOUNTER_TEMPLATE_ARGS () inline a STATSCOUNTER_TYPE ()::b`

define STATSCOUNTER_TEMPLATE_ARGS

#define STATSCOUNTER_TEMPLATE_ARGS (

) `<typename Array_Type, typename Data_Type>`

define STATSCOUNTER_TYPE

#define STATSCOUNTER_TYPE (

) `StatsCounter <Array_Type,Data_Type>`

define TMP_HASHER_CALL

#define TMP_HASHER_CALL `Hasher_fun_type <Array_Type,Data_Type>`

define ZERO_CELL

#define ZERO_CELL `static_cast< Cell_Type >(0.0)`

define ZERO_CELL

#define ZERO_CELL `static_cast<Cell_Type>(0.0)`

define ZERO_CELL

#define ZERO_CELL `static_cast<Cell_Type>(0.0)`

define printf_barry

#define printf_barry `printf`


The documentation for this class was generated from the following file include/barry/barry.hpp