Now have the ability to do partial solutions that will create potential paths to the goal, and a test that runs the scripts from plans in different scenarios. Also, this ai_debug thing needs some work.

This commit is contained in:
Zed A. Shaw 2025-03-11 15:33:14 -04:00
parent 3f83d3f0bb
commit fc66d221d4
11 changed files with 252 additions and 107 deletions

9
ai_debug.hpp Normal file
View file

@ -0,0 +1,9 @@
#pragma once
#include "goap.hpp"
namespace ai {
void dump_only(AIProfile& profile, State state, bool matching, bool show_as);
void dump_state(AIProfile& profile, State state);
void dump_action(AIProfile& profile, Action& action);
State dump_script(AIProfile& profile, std::string msg, State start, Script& script);
}