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

bncore::Graph, the discrete Bayesian network model: variables, their states, directed edges and conditional probability tables. More...

#include "bncore/graph/node.hpp"
#include <memory>
#include <stdexcept>
#include <unordered_map>
#include <vector>
Include dependency graph for graph.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  bncore::Graph
 Directed graphical model over discrete variables. More...
 

Namespaces

namespace  bncore
 

Detailed Description

bncore::Graph, the discrete Bayesian network model: variables, their states, directed edges and conditional probability tables.

A Graph is the input of JunctionTreeCompiler::compile(). The junction tree and the inference workspaces keep a pointer to the graph and read its CPTs when they build their potentials, so the graph must outlive them.

Definition in file graph.hpp.