#include <fermiBaseFunction.h>

Public Member Functions |
|
| 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. |
|
| void | setLower (float lower) |
| void | setUpper (float upper) |
| float | calculate (float x) const |
| float | calculate (float x, float lower, float upper) |
| 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.
1.5.8