Skip to content

Feature/dynamic scenario#59

Draft
heavenfall wants to merge 75 commits into
developfrom
feature/dynamic-scenario
Draft

Feature/dynamic scenario#59
heavenfall wants to merge 75 commits into
developfrom
feature/dynamic-scenario

Conversation

@heavenfall
Copy link
Copy Markdown
Collaborator

Merge dynamic scenario support.

@heavenfall heavenfall changed the base branch from main to develop May 5, 2026 03:02
Comment thread apps/warthog.cpp Outdated
Comment thread apps/warthog.cpp Outdated
"values in scen file) \n"
<< "\t--costs [costs file] (required if using a weighted "
"terrain algorithm)\n"
<< "\t--v2-cost [type] (optional; change used cost type for v2 scen "
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to --cost and --cost-file, if read from file override instances by values in file

Comment thread apps/warthog.cpp Outdated
Comment thread apps/warthog.cpp Outdated
Copy link
Copy Markdown
Member

@dharabor dharabor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. some small changes mainly.

Comment thread apps/warthog.cpp
Comment thread apps/warthog.cpp
Search& algo, std::string alg_name,
warthog::util::scenario_manager& scenmgr, bool verbose, bool checkopt,
std::ostream& out)
Search& algo, std::string alg_name, gridmap_scenario& scen, bool verbose,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do all possible instatiations of algo work with all possible gridmap_scenario instantiations?

Comment thread apps/warthog.cpp
if(expander == nullptr) return 1;

out << "id\talg\texpanded\tgenerated\treopen\tsurplus\theapops"
out << "id\tsnapshot\talg\texpanded\tgenerated\treopen\tsurplus\theapops"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should update the README with new column names + new command-line options. Also update examples.

Comment thread apps/warthog.cpp Outdated
Comment thread apps/warthog.cpp Outdated
Comment thread include/warthog/util/gm_parser.h Outdated
Comment thread include/warthog/scenario/scenario_manager.h
Comment thread include/warthog/scenario/scenario_manager.h
Comment thread src/io/grid.cpp Outdated
Comment thread src/io/scenario.cpp Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants