<< Click to Display Table of Contents >> Navigation: Reference Manual > Node definitions > DSL_ciDef |
Header file: cidef.h
class DSL_ciDef : public DSL_lazyDef
DSL_ciDef derives from DSL_lazyDef, and provides common implementation for canonical node types.
const DSL_Dmatrix& GetCiWeights() const;
Returns the reference to DSL_Dmatrix object containing conditionally independent probabilities of the node.
int SetCiWeights(const DSL_Dmatrix& weights);
int SetCiWeights(const DSL_doubleArray& weights);
Set the conditionally independent probabilities. Returns DSL_OKAY on success, or a negative error code on failure.
const DSL_Dmatrix* GetTemporalCiWeights(int order) const;
For a plate node in a DBN, returns the pointer to DSL_Dmatrix object containing conditionally independent probabilities of the given temporal order. Returns NULL on failure.
int SetTemporalCiWeights(int order, const DSL_Dmatrix& weights);
For a plate node in a DBN, sets the conditionally independent probabilities of the given temporal order. Returns DSL_OKAY on success, or a negative error code on failure.