Definition at line 14 of file Node.h.
◆ Node()
bayesnet::Node::Node |
( |
const std::string & | name | ) |
|
|
explicit |
◆ addChild()
void bayesnet::Node::addChild |
( |
Node * | child | ) |
|
◆ addParent()
void bayesnet::Node::addParent |
( |
Node * | parent | ) |
|
◆ clear()
void bayesnet::Node::clear |
( |
| ) |
|
◆ computeCPT()
void bayesnet::Node::computeCPT |
( |
const torch::Tensor & | dataset, |
|
|
const std::vector< std::string > & | features, |
|
|
const double | smoothing, |
|
|
const torch::Tensor & | weights ) |
◆ getChildren()
std::vector< Node * > & bayesnet::Node::getChildren |
( |
| ) |
|
◆ getCPT()
torch::Tensor & bayesnet::Node::getCPT |
( |
| ) |
|
◆ getFactorValue()
double bayesnet::Node::getFactorValue |
( |
std::map< std::string, int > & | evidence | ) |
|
◆ getName()
std::string bayesnet::Node::getName |
( |
| ) |
const |
◆ getNumStates()
int bayesnet::Node::getNumStates |
( |
| ) |
const |
◆ getParents()
std::vector< Node * > & bayesnet::Node::getParents |
( |
| ) |
|
◆ graph()
std::vector< std::string > bayesnet::Node::graph |
( |
const std::string & | clasName | ) |
|
◆ minFill()
unsigned bayesnet::Node::minFill |
( |
| ) |
|
◆ removeChild()
void bayesnet::Node::removeChild |
( |
Node * | child | ) |
|
◆ removeParent()
void bayesnet::Node::removeParent |
( |
Node * | parent | ) |
|
◆ setNumStates()
void bayesnet::Node::setNumStates |
( |
int | numStates | ) |
|
The documentation for this class was generated from the following files:
- /home/rmontanana/Code/BayesNet/bayesnet/network/Node.h
- /home/rmontanana/Code/BayesNet/bayesnet/network/Node.cc