InMemoryDecayManager

DecayManager for non-caching backends: lifecycle transitions only. Materialisation is a no-op because the backing repository computes effective confidence on the fly — there is no persisted ranking column to refresh. Pairs with InMemoryPropositionRepository.

Constructors

Link copied to clipboard
constructor(repository: PropositionRepository)

Functions

Link copied to clipboard
open override fun materialize(contextId: <Error class: unknown class>)

Refresh cached decayed confidence for one context (no-op for non-caching backends).

Link copied to clipboard
open override fun materializeAll()

Refresh cached decayed confidence across all contexts (no-op for non-caching backends).

Link copied to clipboard
override fun sweep(contextId: <Error class: unknown class>, config: DecaySweepConfig): DecaySweepResult

Sweep the propositions in a single context for lifecycle transitions.

Link copied to clipboard

Sweep the propositions across all contexts for lifecycle transitions.

Link copied to clipboard
fun tick(config: DecaySweepConfig = DecaySweepConfig()): DecaySweepResult

Runner: refresh cached confidence, then apply lifecycle transitions across all contexts.