Functions
DiscreteBayesNet_FG.cpp File Reference

Discrete Bayes Net example using Factor Graphs. More...

#include <gtsam/discrete/DiscreteFactorGraph.h>
#include <gtsam/discrete/DiscreteMarginals.h>
#include <iomanip>
Include dependency graph for DiscreteBayesNet_FG.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Detailed Description

Discrete Bayes Net example using Factor Graphs.

Author
Abhijit
Date
Jun 4, 2012

We use the famous Rain/Cloudy/Sprinkler Example of [Russell & Norvig, 2009, p529] You may be familiar with other graphical model packages like BNT (available at http://bnt.googlecode.com/svn/trunk/docs/usage.html) where this is used as an example. The following demo is same as that in the above link, except that everything is using GTSAM.

Definition in file DiscreteBayesNet_FG.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 33 of file DiscreteBayesNet_FG.cpp.



gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:16