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

◆ message_product()

void message_product ( struct Node from,
struct Node to,
struct Message out_msg 
)

Computes the product of messages incoming to a node.

Computes the product of messages incoming to a node, with the exception of the message coming from the node to which the computed message will be going, In other words, computes \(\prod_{k \in \partial i - j} \mu_{ki}(x_i)\).

Parameters
fromthe node from which the message is coming
tothe node to which the message is going
out_msgthe message in which to store the result