Attention::AttentionBank
Inherits Reference < Object
Manages the economic attention allocation system
Constructors
Instance methods
Add funds to the bank (used by rent collection)
Target and current focus parameters
Associated atomspace
Attentional focus - atoms with highest STI
Calculate LTI wage based on current funds
Calculate STI wage based on current funds
Get maximum STI in attentional focus
Get minimum STI for attentional focus
Get attention value for an atom
Get statistics about current attention allocation
Check if atom is in attentional focus
Set attention value for an atom
Current attention funds
Fund buffers for wage calculations
Stimulate an atom by increasing its STI
Subtract funds from the bank (used by stimulation/boosting)
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>