libDAI
Public Attributes | List of all members
dai::CobwebGraph::Connection Struct Reference

The information in connection between two regions. More...

#include <dai/cobwebgraph.h>

Public Attributes

size_t my
 Index of the first region (p) More...
 
size_t his
 Index of the second region (q) More...
 
size_t iter
 Index of this connection in the connections of the first region. More...
 
size_t dual
 Index of the mirror of this connection in the connections of the second region. (reference of this message in _outM) More...
 
Factor msg
 The message sent from region q (his) to p (my) More...
 
std::vector< size_t > varinds
 "Index" of variables in the message More...
 
Factor newmsg
 Used as a temporary factor only. More...
 
std::vector< size_t > fc
 Index of factors in common. More...
 
std::vector< VarSetsubregions
 Regions rho that are descendents of msg from q to p in p's msg-region graph (not used in partitioning case) More...
 

Detailed Description

The information in connection between two regions.

Member Data Documentation

size_t dai::CobwebGraph::Connection::my

Index of the first region (p)

size_t dai::CobwebGraph::Connection::his

Index of the second region (q)

size_t dai::CobwebGraph::Connection::iter

Index of this connection in the connections of the first region.

size_t dai::CobwebGraph::Connection::dual

Index of the mirror of this connection in the connections of the second region. (reference of this message in _outM)

Factor dai::CobwebGraph::Connection::msg

The message sent from region q (his) to p (my)

std::vector<size_t> dai::CobwebGraph::Connection::varinds

"Index" of variables in the message

Factor dai::CobwebGraph::Connection::newmsg

Used as a temporary factor only.

Todo:
Remove CobwebGraph::Connection::newmsg
std::vector<size_t> dai::CobwebGraph::Connection::fc

Index of factors in common.

std::vector<VarSet> dai::CobwebGraph::Connection::subregions

Regions rho that are descendents of msg from q to p in p's msg-region graph (not used in partitioning case)


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