class DiscreteChanceNode : public Node This class is the ancestor for all discrete nodes.
This class is the ancestor for all discrete nodes.
void addParent(DiscreteDecisionNode *parent) throw( HAPI::ExceptionHugin )
bool caseIsSet(long index) throw(HAPI::ExceptionHugin)
void enterFinding(int state, double value) throw( ExceptionHugin )
- <b>value</b> A non-negative real number as the finding value.
double getBelief(int state) throw( ExceptionHugin )
int getCaseState(long index) throw(HAPI::ExceptionHugin)
virtual Category getCategory() throw()
NodeList getChildren() const throw( HAPI::ExceptionHugin )
double getEnteredFinding(int state) const throw( ExceptionHugin )
Table* getExperienceTable() throw(HAPI::ExceptionHugin)
Table* getFadingTable() throw(HAPI::ExceptionHugin)
virtual Kind getKind() throw(HAPI::ExceptionHugin)
int getNumberOfStates() const throw(ExceptionHugin)
double getPropagatedFinding(int state) const throw( ExceptionHugin )
int getSelection() const throw(ExceptionHugin)
std::string getStateLabel(int state) const throw(HAPI::ExceptionHugin)
virtual Table* getTable() throw(HAPI::ExceptionHugin)
bool hasExperienceTable() throw(HAPI::ExceptionHugin)
bool hasFadingTable() throw(HAPI::ExceptionHugin)
bool isEvidenceEntered()
bool isEvidencePropagated()
void removeParent(DiscreteChanceNode *parent) throw( HAPI::ExceptionHugin )
void removeParent(DiscreteDecisionNode *parent) throw( HAPI::ExceptionHugin )
void retractFindings() throw( ExceptionHugin )
void reverseEdge(DiscreteChanceNode *neighbor) throw(ExceptionHugin)
void selectState(int state) throw( ExceptionHugin )
void setCaseState(long index, int state) throw(HAPI::ExceptionHugin)
state - The node state.
void setStateLabel(int state, char *statelabel) throw(HAPI::ExceptionHugin)
statelabel - - The desired state label.
void setStateLabel(int state, std::string& statelabel) throw(HAPI::ExceptionHugin)
statelabel - - The desired state label.
void unsetCase(long index)
int getSampledState( ) throw(HAPI::ExceptionHugin)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de