Home > @uniformdev/context > createLinearDecay
createLinearDecay() function
Creates a function that applies linear decay to scores over time.
Signature:
declare function createLinearDecay(options?: LinearDecayOptions): DecayFunction;
Parameters
Parameter | Type | Description |
---|---|---|
options | LinearDecayOptions | (Optional) |
Returns: