#include <ChowLiuTree.h>
Public Member Functions | |
ChowLiuTree (const Eigen::MatrixXd &L, const std::vector< Node * > &nodes) | |
Public Attributes | |
std::map< int, ChowLiuTreeNode > | tree |
Private Member Functions | |
void | _build_tree_rec (int id, int pid) |
void | _calc_edges () |
double | _calc_mi (int ida, int idb) |
void | _max_span_tree () |
Private Attributes | |
ChowLiuTreeInfo | _clt_info |
std::list< MI > | _edges |
ChowLiuTree Chow Liu Tree class for information form gaussian distribtuions
Definition at line 130 of file ChowLiuTree.h.
isam::ChowLiuTree::ChowLiuTree | ( | const Eigen::MatrixXd & | L, |
const std::vector< Node * > & | nodes | ||
) |
Definition at line 110 of file ChowLiuTree.cpp.
void isam::ChowLiuTree::_build_tree_rec | ( | int | id, |
int | pid | ||
) | [private] |
Definition at line 201 of file ChowLiuTree.cpp.
void isam::ChowLiuTree::_calc_edges | ( | ) | [private] |
Definition at line 140 of file ChowLiuTree.cpp.
double isam::ChowLiuTree::_calc_mi | ( | int | ida, |
int | idb | ||
) | [private] |
Definition at line 155 of file ChowLiuTree.cpp.
void isam::ChowLiuTree::_max_span_tree | ( | ) | [private] |
Definition at line 173 of file ChowLiuTree.cpp.
ChowLiuTreeInfo isam::ChowLiuTree::_clt_info [private] |
Definition at line 132 of file ChowLiuTree.h.
std::list<MI> isam::ChowLiuTree::_edges [private] |
Definition at line 133 of file ChowLiuTree.h.
std::map<int, ChowLiuTreeNode> isam::ChowLiuTree::tree |
Definition at line 143 of file ChowLiuTree.h.