Darwin  1.10(beta)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
drwnFactorNAryOp Class Reference

Base class for implementing n-ary factor operations. More...

Inheritance diagram for drwnFactorNAryOp:
drwnFactorOperation drwnFactorAdditionOp drwnFactorProductOp

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)
- Public Member Functions inherited from drwnFactorOperation
 drwnFactorOperation (drwnTableFactor *target)
 drwnFactorOperation (const drwnFactorOperation &op)
virtual void execute ()=0
 peform the factor operation on the target
drwnTableFactortarget () 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 * > 
< drwnTableFactorMapping
- Protected Attributes inherited from drwnFactorOperation

Detailed Description

Base class for implementing n-ary factor operations.

The documentation for this class was generated from the following files: