Add different components and then obtain the result.
Public Member Functions | |
WeightedSum () | |
void | add (float value, float wt) |
float | computeResult () const |
Returns MissingData if no valid values were added. |
code::WeightedSum::WeightedSum | ( | ) | [inline] |
void code::WeightedSum::add | ( | float | value, | |
float | wt | |||
) | [inline] |
float code::WeightedSum::computeResult | ( | ) | const [inline] |
Returns MissingData if no valid values were added.