opencog/opencog — pull request #549 by cosmoharrigan (2014-02-22 09:01:41+00:00)
Title: Hebbian link creation for Attention Allocation, new signals for Attentional Focus

- Add **HebbianCreationModule** (C++) to create AsymmetricHebbianLinks between atoms in the AttentionalFocus for updating by AttentionAllocation. Multi-threaded, uses Boost Signals2 and std::thread.
- Add **AddAFSignal** and **RemoveAFSignal** to the AttentionBank and expose them in the AtomSpace API, which notifies any registered Boost Signals2 slots when atoms are added or removed from the AttentionalFocus
- Add unit tests for HebbianCreationModule and AttentionalFocus signals