public class ForwardExponentialDecayFunction extends java.lang.Object implements DecayFunction
DecayFunction.Type| Constructor and Description |
|---|
ForwardExponentialDecayFunction(double alpha) |
| Modifier and Type | Method and Description |
|---|---|
double |
evaluate(long age) |
double |
getAlpha() |
DecayFunction.Type |
getType() |
public ForwardExponentialDecayFunction(double alpha)
public double getAlpha()
public double evaluate(long age)
evaluate in interface DecayFunctionpublic DecayFunction.Type getType()
getType in interface DecayFunction