#include <plProduct.h>
Inheritance diagram for plProduct:
Public Member Functions | |
plProduct () | |
Default constructor. | |
plProduct (const plComputableObjectList &func_lis) | |
Constructor using a list of computable objects. | |
plProduct (const plProduct &pr) | |
Copy constructor. | |
plProduct & | operator= (const plProduct &pr) |
Assignation operator. | |
~plProduct () | |
Destructor. | |
void | replace (const plVariablesConjunction &left_vars, const plVariablesConjunction &right_vars, plCndKernel &new_cnd_kernel) |
Replace the conditional distribution P(left_vars | right_vars) by an other conditional ditribution "new_cnd_kernel". | |
void | replace (const plVariablesConjunction &left_vars, plKernel &new_kernel) |
Replace the distribution P(left_vars ) by an other ditribution "new_kernel". | |
ostream & | write_head (ostream &out) const |
Writes the the kernel head at the output stream {out}. | |
ostream & | write_body (ostream &out) const |
Writes the kernel body at the output stream {out}. | |
kplComputableObject * | get_root_kernel () const |
Returns the pointer to itself if the kerel is not a {built in kernel (function)} other wise it returns a pointer to the kernel at kernel level. | |
Protected Member Functions | |
plProbValue | kernel_compute (const plDataValues ¶ms) const |
Computes the value of the function, according to a list of parameters at kernel level. | |
void | kernel_rename (const map< kplVariable *, kplVariable * > &rename_map) |
Renames the variables of a function at kernel level. | |
Friends | |
class | plCndKernel |
class | plKernel |
Definition at line 28 of file plProduct.h.
|
Replace the distribution P(left_vars ) by an other ditribution "new_kernel". new_kernel must have the same left variables. Implements plComputableObject. |
|
Replace the conditional distribution P(left_vars | right_vars) by an other conditional ditribution "new_cnd_kernel". new_cnd_kernel must have the same left and right variables. Implements plComputableObject. |