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

Add a weighted combination of factors. More...

Inheritance diagram for drwnFactorWeightedSumOp:
drwnFactorBinaryOp drwnFactorOperation

Public Member Functions

 drwnFactorWeightedSumOp (drwnTableFactor *target, const drwnTableFactor *A, const drwnTableFactor *B, double wA=1.0, double wB=1.0)
 
 drwnFactorWeightedSumOp (const drwnFactorWeightedSumOp &op)
 
void execute ()
 peform the factor operation on the target
 
- Public Member Functions inherited from drwnFactorBinaryOp
 drwnFactorBinaryOp (drwnTableFactor *target, const drwnTableFactor *A, const drwnTableFactor *B)
 
 drwnFactorBinaryOp (const drwnFactorBinaryOp &op)
 
- Public Member Functions inherited from drwnFactorOperation
 drwnFactorOperation (drwnTableFactor *target)
 
 drwnFactorOperation (const drwnFactorOperation &op)
 
drwnTableFactortarget () const
 return a pointer to the target factor
 

Protected Attributes

double _weightA
 
double _weightB
 
- Protected Attributes inherited from drwnFactorBinaryOp
const drwnTableFactor *const _operandA
 
const drwnTableFactor *const _operandB
 
drwnTableFactorMapping _mappingA
 
drwnTableFactorMapping _mappingB
 
- Protected Attributes inherited from drwnFactorOperation
drwnTableFactor_target
 

Additional Inherited Members

- Protected Member Functions inherited from drwnFactorBinaryOp
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
 

Detailed Description

Add a weighted combination of factors.


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