#include <ChowLiuTree.h>
Public Member Functions | |
ChowLiuTreeInfo (const Eigen::MatrixXd &L, const std::vector< Node * > &nodes) | |
Eigen::MatrixXd | conditional (int ida, int idb) |
Eigen::MatrixXd | joint (int ida, int idb) |
Eigen::MatrixXd | marginal (int id) |
int | num_nodes () |
Private Attributes | |
const Eigen::MatrixXd & | _L |
const std::vector< Node * > & | _nodes |
ChowLiuTreeInfo Information for Gaussian distribtuion for chow liu tree
Definition at line 49 of file ChowLiuTree.h.
isam::ChowLiuTreeInfo::ChowLiuTreeInfo | ( | const Eigen::MatrixXd & | L, |
const std::vector< Node * > & | nodes | ||
) | [inline] |
Constructor.
L | the information matrix |
nodes | the nodes in the information matrix |
Definition at line 63 of file ChowLiuTree.h.
MatrixXd isam::ChowLiuTreeInfo::conditional | ( | int | ida, |
int | idb | ||
) |
Conditional distribution
Definition at line 103 of file ChowLiuTree.cpp.
MatrixXd isam::ChowLiuTreeInfo::joint | ( | int | ida, |
int | idb | ||
) |
Joint distribution
Definition at line 73 of file ChowLiuTree.cpp.
MatrixXd isam::ChowLiuTreeInfo::marginal | ( | int | id | ) |
Marginal distribution
Definition at line 48 of file ChowLiuTree.cpp.
int isam::ChowLiuTreeInfo::num_nodes | ( | ) | [inline] |
Definition at line 67 of file ChowLiuTree.h.
const Eigen::MatrixXd& isam::ChowLiuTreeInfo::_L [private] |
Definition at line 53 of file ChowLiuTree.h.
const std::vector<Node *>& isam::ChowLiuTreeInfo::_nodes [private] |
Definition at line 54 of file ChowLiuTree.h.