Now builds.

* Cut out all extraneous includes.
This commit is contained in:
2025-01-04 07:33:15 -04:00
parent 6beda55971
commit 841441806c
12 changed files with 41 additions and 73 deletions
-33
View File
@@ -4,38 +4,5 @@ int main(int argc, char **argv)
{
Mind mind;
for (;;)
{
AttentionGrabber currentEmergency = mind.poll();
if (!currentEmergency)
{
// Idle thought's goal is automatically Goal::DRIFT.
auto idleThought = std::make_shared<IdleThought>();
mind.focusOn(idleThought);
}
else
{
thought::Goal goal;
auto urgentThought = std::make_shared<ActiveThought>(currentEmergency);
if (!mind.recognizes(currentEmergency.cause)) {
goal = thought::Goal
::ASSOCIATE_CAUSAL_QUALE_WITH_INTRINSIC_MOTIVATORS;
}
else {
goal = thought::Goal
::RESPOND_TO_CAUSAL_QUALE;
}
urgentThought->setGoal(goal);
mind.focusOn(urgentThought);
}
mind.execute();
}
return 0;
}