#include <BALL/SCORING/COMMON/baseFunction.h>
Public Types | |
enum | BaseFunctionType { BASE_FUNCTION_TYPE__LINEAR, BASE_FUNCTION_TYPE__FERMI } |
Public Member Functions | |
ScoringBaseFunction () | |
ScoringBaseFunction (float lower, float upper) | |
virtual | ~ScoringBaseFunction () |
virtual void | setLower (float lower) |
virtual void | setUpper (float upper) |
virtual float | calculate (float x) const |
virtual float | calculate (float x, float lower, float upper) |
Protected Attributes | |
float | lower_ |
float | upper_ |
Define the interface for the base function
Definition at line 14 of file baseFunction.h.
Definition at line 21 of file baseFunction.h.
BALL::ScoringBaseFunction::ScoringBaseFunction | ( | ) |
virtual BALL::ScoringBaseFunction::~ScoringBaseFunction | ( | ) | [virtual] |
Reimplemented in BALL::FermiBaseFunction, and BALL::LinearBaseFunction.
Reimplemented in BALL::FermiBaseFunction, and BALL::LinearBaseFunction.
virtual void BALL::ScoringBaseFunction::setLower | ( | float | lower | ) | [virtual] |
Reimplemented in BALL::FermiBaseFunction.
virtual void BALL::ScoringBaseFunction::setUpper | ( | float | upper | ) | [virtual] |
Reimplemented in BALL::FermiBaseFunction.
float BALL::ScoringBaseFunction::lower_ [protected] |
Definition at line 65 of file baseFunction.h.
float BALL::ScoringBaseFunction::upper_ [protected] |
Definition at line 68 of file baseFunction.h.