mrf
v0.2.0
|
A variable node. More...
#include "mrf.h"
Data Fields | |
int | connect_ix |
int | degree |
int | dim |
struct Factor1D * | factor1d |
struct Factor2D ** | factor2d |
int | id |
struct Message ** | inbox |
struct Node ** | neighbors |
int | recv_ix |
A variable node.
Variable nodes have a prior \(f_i\), represented by a struct Factor1D
, and an array of bivariate factors \(f_{ij}(x_i, x_j)\) represented by struct Factor2D
s.
A Node should be created using only new_node or associated constructors.