GClasses
|
A node in a belief network that represents a constant value.
#include <GBayesianNetwork.h>
Public Member Functions | |
GBNConstant (double val) | |
General-purpose constructor. More... | |
virtual | ~GBNConstant () |
virtual double | currentValue () |
Returns the constant value. More... | |
virtual void | onNewChild (GBNVariable *pChild) |
This method is a no-op. More... | |
Public Member Functions inherited from GClasses::GBNNode | |
GBNNode () | |
virtual | ~GBNNode () |
Additional Inherited Members | |
Protected Attributes inherited from GClasses::GBNNode | |
bool | m_observed |
double | m_observedValue |
|
inline |
General-purpose constructor.
|
inlinevirtual |
|
inlinevirtual |
Returns the constant value.
Implements GClasses::GBNNode.
|
inlinevirtual |
This method is a no-op.
Implements GClasses::GBNNode.