GClasses
GClasses::GBNConstant Class Reference

Detailed Description

A node in a belief network that represents a constant value.

#include <GBayesianNetwork.h>

Inheritance diagram for GClasses::GBNConstant:
GClasses::GBNNode

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
 

Constructor & Destructor Documentation

GClasses::GBNConstant::GBNConstant ( double  val)
inline

General-purpose constructor.

virtual GClasses::GBNConstant::~GBNConstant ( )
inlinevirtual

Member Function Documentation

virtual double GClasses::GBNConstant::currentValue ( )
inlinevirtual

Returns the constant value.

Implements GClasses::GBNNode.

virtual void GClasses::GBNConstant::onNewChild ( GBNVariable pChild)
inlinevirtual

This method is a no-op.

Implements GClasses::GBNNode.