class

Attention::AttentionDiffusion

Inherits Reference < Object

Manages spreading of attention between atoms

Constructors

new(bank : AttentionBank)

Instance methods

bank
get_statistics

Get diffusion statistics

hebbian_diffusion(max_iterations : Int32 = 2)

Perform Hebbian learning-based diffusion Spreads attention based on co-activation patterns

neighbor_diffusion(max_iterations : Int32 = 3)

Perform neighbor-based importance diffusion Spreads attention from high-STI atoms to their neighbors