Infrared
|
The evaluation policy to calculate partition functions. More...
#include <feature_network.hpp>
Classes | |
class | selector |
Public Types | |
using | fun_value_t = FunValue |
using | constraint_t = Function< bool > |
using | function_t = Function< fun_value_t > |
Static Public Member Functions | |
static fun_value_t | plus (const fun_value_t &x, const fun_value_t &y) |
static fun_value_t | mul (const fun_value_t &x, const fun_value_t &y) |
static fun_value_t | one () |
static fun_value_t | zero () |
The evaluation policy to calculate partition functions.
An evaluation policy defines an algebra with operations mul and plus, as well as respective neutral elements one and zero. The following must hold
mul is associative and symmetric plus is associative and symmetric mul(one,x) == x mul(zero,x) == 0.0 plus(zero,x) == x
In the standard policy mul corresponds to *, plus to +, zero to 0.0, and one to 1.0
using ired::PFEvaluationPolicy< FunValue >::constraint_t = Function<bool> |
using ired::PFEvaluationPolicy< FunValue >::fun_value_t = FunValue |
using ired::PFEvaluationPolicy< FunValue >::function_t = Function<fun_value_t> |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |