libDAI
|
Defines TFactor<> and Factor classes which represent factors in probability distributions. More...
#include <iostream>
#include <functional>
#include <cmath>
#include <dai/prob.h>
#include <dai/varset.h>
#include <dai/index.h>
#include <dai/util.h>
Go to the source code of this file.
Classes | |
class | dai::TFactor< T > |
Represents a (probability) factor. More... | |
Namespaces | |
dai | |
Namespace for libDAI. | |
Typedefs | |
typedef TFactor< Real > | dai::Factor |
Represents a factor with values of type dai::Real. More... | |
Functions | |
Factor | dai::createFactorIsing (const Var &x, Real h) |
Returns a binary unnormalized single-variable factor where . More... | |
Factor | dai::createFactorIsing (const Var &x1, const Var &x2, Real J) |
Returns a binary unnormalized pairwise factor where . More... | |
Factor | dai::createFactorExpGauss (const VarSet &vs, Real beta) |
Returns a random factor on the variables vs with strength beta. More... | |
Factor | dai::createFactorPotts (const Var &x1, const Var &x2, Real J) |
Returns a pairwise Potts factor . More... | |
Factor | dai::createFactorDelta (const Var &v, size_t state) |
Returns a Kronecker delta point mass. More... | |
Factor | dai::createFactorDelta (const VarSet &vs, size_t state) |
Returns a Kronecker delta point mass. More... | |
Defines TFactor<> and Factor classes which represent factors in probability distributions.