Darwin
1.10(beta)
|
Base class for implementing n-ary factor operations. More...
Public Member Functions | |
drwnFactorNAryOp (drwnTableFactor *target, const drwnTableFactor *A, const drwnTableFactor *B) | |
drwnFactorNAryOp (drwnTableFactor *target, const std::vector< const drwnTableFactor * > &A) | |
drwnFactorNAryOp (const drwnFactorNAryOp &phi) | |
![]() | |
drwnFactorOperation (drwnTableFactor *target) | |
drwnFactorOperation (const drwnFactorOperation &op) | |
virtual void | execute ()=0 |
peform the factor operation on the target | |
drwnTableFactor * | target () const |
return a pointer to the target factor | |
Protected Member Functions | |
void | initialize () |
initialize mappings and target factor (with right set of variables, unless given, e.g. for marginalization) | |
bool | checkTarget () |
check that the target is not empty and has the right set of variables for this operation | |
Protected Attributes | |
std::vector< const drwnTableFactor * > | _factors |
std::vector < drwnTableFactorMapping > | _mappings |
![]() | |
drwnTableFactor * | _target |
Base class for implementing n-ary factor operations.