public interface DecayRate extends Serializable
Modifier and Type | Method and Description |
---|---|
DecayRate |
clone() |
double |
rate(double time,
double initial)
Decays the initial value over time.
|
double |
rate(double time,
double maxTime,
double initial)
Decays the initial value over time.
|
double rate(double time, double maxTime, double initial)
time
- the current time through the algorithm in the range
[0, maxTime]maxTime
- the maximum time step that will be seeninitial
- the initial valueArithmeticException
- if the time is negativedouble rate(double time, double initial)
time
- the current time step to return a value forinitial
- the initial learning rateDecayRate clone()
Copyright © 2017. All rights reserved.