Loading [MathJax]/extensions/tex2jax.js
mrf  v0.2.0
All Data Structures Files Functions Pages
Node Struct Reference

A variable node. More...

#include "mrf.h"

Data Fields

int connect_ix
 
int degree
 
int dim
 
struct Factor1Dfactor1d
 
struct Factor2D ** factor2d
 
int id
 
struct Message ** inbox
 
struct Node ** neighbors
 
int recv_ix
 

Detailed Description

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 Factor2Ds.

A Node should be created using only new_node or associated constructors.


The documentation for this struct was generated from the following file: