examples
</> Example Implementation
Attention allocation
Shows ECAN's economic attention model with importance values and Hebbian spreading activation.
; ECAN attention dynamics
; STI/LTI economic model
!(set-sti (atom "hypothesis-1") 0.9)
!(set-sti (atom "hypothesis-2") 0.3)
; Spread attention via Hebbian links
!(ecan-step
(hebbian-spread 0.1)
(rent-collection 0.05)
(forgetting-threshold 0.01))