Interface TypedSpreadingActivationOptions

Construction options for spreading activation.

interface TypedSpreadingActivationOptions {
    decay: number;
    edgeMultipliers?: Record<"entity" | "semantic" | "temporal" | "causal", number>;
}

Properties

decay: number

Per-hop decay factor δ ∈ (0, 1). Default 0.5.

edgeMultipliers?: Record<"entity" | "semantic" | "temporal" | "causal", number>

Override the default DEFAULT_EDGE_MULTIPLIERS.