← Documentation
ADS-IDAC Engine 5.0.0
workspace.hpp File Reference

bncore::BatchWorkspace, the message passing state of junction tree inference, and the precomputed index tables it runs on (CollectOp, DistributeOp, AssembleOp, CliqueMargInfo). More...

#include "bncore/factors/factor.hpp"
#include "bncore/inference/junction_tree.hpp"
#include <unordered_map>
#include <vector>
Include dependency graph for workspace.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bncore::CollectOp
 Index tables for the upward (collect) message of one non-root clique u to its parent. More...
 
struct  bncore::DistributeOp
 Index tables for the downward (distribute) message from a parent clique p to one child clique u. More...
 
struct  bncore::AssembleOp
 Index tables that assemble the calibrated belief of one clique from its potential, its down message and its children's up messages. More...
 
struct  bncore::CliqueMargInfo
 Per-clique lookup from a flat clique index to the state of each scope variable. More...
 
class  bncore::BatchWorkspace
 Message passing state for one junction tree and one batch size. More...
 

Namespaces

namespace  bncore
 

Detailed Description

bncore::BatchWorkspace, the message passing state of junction tree inference, and the precomputed index tables it runs on (CollectOp, DistributeOp, AssembleOp, CliqueMargInfo).

BatchExecutionEngine creates workspaces and drives them through reset(), the evidence setters, calibrate() or max_calibrate(), and the query functions. A workspace can also be used directly in that same order.

Definition in file workspace.hpp.