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
drwnFactorOperation Class Referenceabstract

Base class for implementing various operations on table factors. The derived classes store mappings between factor entries making them very fast for iterative algorithms. More...

Inheritance diagram for drwnFactorOperation:
drwnFactorAtomicOp drwnFactorBinaryOp drwnFactorCopyOp drwnFactorExpAndNormalizeOp drwnFactorLogNormalizeOp drwnFactorMarginalizeOp drwnFactorMaximizeOp drwnFactorMinimizeOp drwnFactorNAryOp drwnFactorNormalizeOp drwnFactorReduceOp drwnFactorUnaryOp

Public Member Functions

 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

virtual void initialize ()
 initialize mappings and target factor (with right set of variables, unless given, e.g. for marginalization)
 
virtual bool checkTarget ()
 check that the target is not empty and has the right set of variables for this operation
 

Protected Attributes

drwnTableFactor_target
 

Detailed Description

Base class for implementing various operations on table factors. The derived classes store mappings between factor entries making them very fast for iterative algorithms.


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