public class BackwardExponentialDecayFunctionImpl extends java.lang.Object implements DecayFunction
DecayFunction.Type| Modifier and Type | Field and Description |
|---|---|
protected double |
base |
protected double |
decayRate |
| Constructor and Description |
|---|
BackwardExponentialDecayFunctionImpl(double base,
double decayRate) |
| Modifier and Type | Method and Description |
|---|---|
double |
evaluate(long age) |
DecayFunction.Type |
getType() |
public BackwardExponentialDecayFunctionImpl(double base,
double decayRate)
public double evaluate(long age)
evaluate in interface DecayFunctionpublic DecayFunction.Type getType()
getType in interface DecayFunction