#include <BALL/SCORING/COMMON/fermiBaseFunction.h>
Sigmoidal base function
Definition at line 13 of file fermiBaseFunction.h.
◆ FermiBaseFunction() [1/2]
| BALL::FermiBaseFunction::FermiBaseFunction |
( |
| ) |
|
◆ FermiBaseFunction() [2/2]
| BALL::FermiBaseFunction::FermiBaseFunction |
( |
float | lower, |
|
|
float | upper ) |
The function is defined in such a way that the score approaches 1 for values < lower and 0 for values > upper. If you need contrary behaviour, you have to supply a "lower" which is greater than "upper". This will invert the function.
◆ calculate() [1/2]
| float BALL::FermiBaseFunction::calculate |
( |
float | x | ) |
const |
|
virtual |
◆ calculate() [2/2]
| float BALL::FermiBaseFunction::calculate |
( |
float | x, |
|
|
float | lower, |
|
|
float | upper ) |
|
virtual |
◆ setLower()
| void BALL::FermiBaseFunction::setLower |
( |
float | lower | ) |
|
|
virtual |
◆ setUpper()
| void BALL::FermiBaseFunction::setUpper |
( |
float | upper | ) |
|
|
virtual |