Decay

data class Decay(var enabled: Boolean = true, var intervalMs: Long, var k: Double = 2.0, var pruneStale: Boolean = false)

The scheduled decay tick (materialise cached confidence, then apply lifecycle transitions).

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, intervalMs: Long, k: Double = 2.0, pruneStale: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard

Delay between ticks, in milliseconds. Default 1 hour.

Link copied to clipboard
var k: Double

Decay-rate multiplier k for the staleness policy.

Link copied to clipboard

Hard-delete STALE propositions during the lifecycle sweep.