a e-x / b,
where x is the (integer) independent variable.
| Modifier and Type | Field and Description |
|---|---|
| private final double | a
Factor |
| private final double | oneOverB
Factor |
| Access | Constructor and Description |
|---|---|
| public | ExponentialDecayFunction(double
Initial value, i.e. initValue, double value(0).Value of the function at valueAtNumCall, long numCall.Argument for which the function returns
numCall)valueAtNumCall.Creates an instance. |
| Modifier and Type | Method and Description |
|---|---|
| public double | Returns: the value of the function atnumCall.Current step of the training task. numCall)Computes |
| a | back to summary |
|---|---|
| private final double a Factor | |
| oneOverB | back to summary |
|---|---|
| private final double oneOverB Factor | |
| ExponentialDecayFunction | back to summary |
|---|---|
| public ExponentialDecayFunction(double initValue, double valueAtNumCall, long numCall) Creates an instance. It will be such that
| |
| value | back to summary |
|---|---|
| public double value(long numCall) Computes
| |