class Node Nodes are one of the fundamental objects used in the construction of Bayesian belief networks and influence diagrams
Nodes are one of the fundamental objects used in the construction of Bayesian belief networks and influence diagrams. All nodes need a Domain* as argument, that is, the domain must exist before nodes can be created into it.
The createDomain method of the Class class unfolds an
object-oriented (nested) specification of a Bayesian network
or an influence diagram into a regular Domain object.<p> Nodes in this Domain which originates from nodes residing in
nested sub-networks (via InstanceNodes) can be uniquely
related to a sequence of InstanceNodes and an ordinary Node
of the object-oriented network.<p>
void addParent(DiscreteChanceNode *parent) throw(HAPI::ExceptionHugin)
std::string getAttribute(std::string& key) const throw(HAPI::ExceptionHugin)
virtual Category getCategory() throw()
Domain* getDomain() const throw(HAPI::ExceptionHugin)
JunctionTree* getJunctionTree() const throw(HAPI::ExceptionHugin)
virtual Kind getKind() throw(ExceptionHugin)
std::string getLabel() const throw(HAPI::ExceptionHugin)
Model* getModel() throw(HAPI::ExceptionHugin)
std::string getName() const throw(HAPI::ExceptionHugin)
NodeList getParents() const throw(HAPI::ExceptionHugin)
std::pair <long, long> getPosition() const throw(HAPI::ExceptionHugin)
void* getUserData() throw(HAPI::ExceptionHugin)
Constraint getEdgeConstraint( Node *bNode )
void setEdgeConstraint( Node *bNode, Constraint C )
void generateTable() throw(HAPI::ExceptionHugin )
std::vector <Attribute*> Node::getAttributes() throw(HAPI::ExceptionHugin )
void removeParent(DiscreteChanceNode *parent) throw(HAPI::ExceptionHugin)
void setAttribute(std::string& key, std::string& value) throw(HAPI::ExceptionHugin)
value - A Standard C++ Library string.
void setLabel(char* label) throw(HAPI::ExceptionHugin)
void setLabel(std::string& label) throw(HAPI::ExceptionHugin)
void setName(char *name) throw(HAPI::ExceptionHugin)
void setName(std::string& name) throw(HAPI::ExceptionHugin)
void setPosition(long x, long y) throw(HAPI::ExceptionHugin)
y - The desired y coordinate of the node.
void setPosition(std::pair<long, long> pos) throw(HAPI::ExceptionHugin)
void setUserData(void *) throw(HAPI::ExceptionHugin)
Domain* getHomeDomain() const throw(ExceptionHugin)
Class* getHomeClass() const throw(ExceptionHugin)
void addToInputs() throw(ExceptionHugin)
void addToOutputs() throw(ExceptionHugin)
void removeFromInputs() throw(ExceptionHugin)
void removeFromOutputs() throw(ExceptionHugin)
Node* getInstance() throw(ExceptionHugin)
Node* getMaster() throw(ExceptionHugin)
NodeList getSource() throw(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