Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.37 KB

README.md

File metadata and controls

32 lines (21 loc) · 1.37 KB

Sourbbn-lib: C++ Library for solving Second Order Uncertainy in Bayesian Belief Networks

Bayesian Belief Networks (BBNs) are a type of probabilistic graphical model where the joint distribution over all variables in the model is represented by directed acyclic graph. Nodes in the graph represent the probability distribution of a given variable conditional on it's parents in the graph. These conditional distributions are stored as conditional probability tables. The values in conditional probability tables are often inferred from data and are not known exactly. This library provides a set of C/C++ classes and functions implementing the MeanVar and BuckElim+ algorithms, extracted from Van Allen et al. 2008, for querying BBNs with uncertain data.

Build

Sourbbn-lib is built with CMake and is compatible with gcc v7.3. To build the library locally do the following

cd sourbbn-lib/
cmake . 
make

Documentation

Read the library documentation, generated by Doxygen.

Test/Examples

After building the library, you can explore the tests. To execute the tests run the following commands from the root directory

./unit_tests -s
./scratch_test

The two test source files contain

  • Unit tests: test/unit_test.cpp

  • Examples: test/scratch_test.cpp