Add static function in AttentionValue to sort atoms based on sti and/or lti

Bug #250356 reported by ferrouswheel
4
Affects Status Importance Assigned to Milestone
OpenCog
Fix Released
Medium
Unassigned

Bug Description

Often, MindAgents should preferentially select more important atoms for processing when there is uncertainty of which atom to use in a list. For this reason, there should be general sorting dunctions in the AttentionValue class.

There are comparison structures already in dynamics/attention/ImportanceSpreadingAgent.h which should be moved to AttentionValue and used in the sort call.

ferrouswheel (joel-pitt)
Changed in opencog:
importance: Undecided → Medium
milestone: none → release-1.0
status: New → Confirmed
Revision history for this message
J (coolj) wrote :

I'm working on a patch for this one.

Revision history for this message
ferrouswheel (joel-pitt) wrote :

implemented by Jared, revision 910

Changed in opencog:
status: Confirmed → Fix Committed
linas (linasvepstas)
Changed in opencog:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.