28 #ifndef GUM_SIMPLE_CPT_DISTURBER_H 29 #define GUM_SIMPLE_CPT_DISTURBER_H 45 template <
typename GUM_SCALAR >
89 GUM_SCALAR variation)
override;
92 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 99 #endif // SIMPLECPTDISTURBER_H aGrUM's Potential is a multi-dimensional array with tensor operators.
Class representing a Bayesian Network.
Interface-like class for disturbing Conditional Probability Tables.
<agrum/BN/generator/simpleCPTDisturber.h>
gum is the global namespace for all aGrUM entities
Source implementation of SimpleCPTDisturber.
void disturbAugmCPT(NodeId node, BayesNet< GUM_SCALAR > &bayesNet, Potential< GUM_SCALAR > &src, GUM_SCALAR variation) override
Disturb a CPT using GUM_SCALAR when inserting a new parent new_parent.
SimpleCPTDisturber()
Default constructor.
~SimpleCPTDisturber() override
Destructor.
void disturbReducCPT(NodeId node, BayesNet< GUM_SCALAR > &bayesNet, Potential< GUM_SCALAR > &src, Potential< GUM_SCALAR > &marg) override
Disturb a CPT using GUM_SCALAR when removing parent varIdi.
Size NodeId
Type for node ids.