BALL
1.4.79
|
#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.
Enumerator | |
---|---|
BASE_FUNCTION_TYPE__LINEAR | |
BASE_FUNCTION_TYPE__FERMI |
Definition at line 21 of file baseFunction.h.
BALL::ScoringBaseFunction::ScoringBaseFunction | ( | ) |
|
virtual |
Reimplemented in BALL::FermiBaseFunction, and BALL::LinearBaseFunction.
Reimplemented in BALL::FermiBaseFunction, and BALL::LinearBaseFunction.
|
virtual |
Reimplemented in BALL::FermiBaseFunction.
|
virtual |
Reimplemented in BALL::FermiBaseFunction.
|
protected |
Definition at line 65 of file baseFunction.h.
|
protected |
Definition at line 68 of file baseFunction.h.