LRU-LIFO: Add Lufos, add LUFOs to Director
This represents our realization that we can represent qualia inputs using LRU LIFOs
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include <goal.h>
|
||||
#include <lruLifo.h>
|
||||
|
||||
namespace smo {
|
||||
namespace director {
|
||||
@@ -12,7 +13,28 @@ public:
|
||||
Director() = default;
|
||||
~Director() = default;
|
||||
|
||||
Goal purpose;
|
||||
/** EXPLANATION:
|
||||
* We allow SMO to prioritize negtrins over injected goals, so that it can
|
||||
* prioritize pain mitigation. We may decide to change this in the future.
|
||||
*
|
||||
* NB: Prioritizing negtrins is not the same as priortizing
|
||||
* self-preservation...at least we don't think so at the moment of writing.
|
||||
* It is definitely not desirable for SMO to prioritize self-preservation
|
||||
* over our injected goals.
|
||||
*/
|
||||
LruLifo negtrins;
|
||||
/** EXPLANATION:
|
||||
* These are goals injected by Mrntt. This is how Mrntt is able to inject
|
||||
* goals into the director.
|
||||
*/
|
||||
LruLifo injectedGoals;
|
||||
/** EXPLANATION:
|
||||
* These are goals chosen by the running mind. Director will always
|
||||
* prioritize injected goals over chosen goals.
|
||||
*/
|
||||
LruLifo chosenGoals;
|
||||
LruLifo postrins;
|
||||
LruLifo nontrins;
|
||||
};
|
||||
|
||||
} // namespace director
|
||||
|
||||
Reference in New Issue
Block a user