Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation tools upgrade #13

Merged
merged 4 commits into from
Sep 30, 2023
Merged

Validation tools upgrade #13

merged 4 commits into from
Sep 30, 2023

Conversation

njunius
Copy link
Owner

@njunius njunius commented Sep 30, 2023

Refactored A* to allow full or partial path reconstruction via the analysis argument as well as moved the path reconstruction code to its own helper function in _path_reconstruction()

A* edge cost now has parity with the game development version

rule_file_validator.py has cleaner printing to CSV code

A* now fully reconstructs the path between key nodes

CSV output in rule_file_validator is cleaner
edge cost function no longer has extraneous action_key_map argument
A* now uses a helper function named _construct_path() to build its final output

A* now has an optional analysis argument which defaults to false which allows for complete path reconstruction but is much slower

rule_file_validator.py now sets analysis to True
@njunius njunius self-assigned this Sep 30, 2023
@njunius njunius merged commit 169f90a into master Sep 30, 2023
@njunius njunius deleted the validation-tools-upgrade branch September 30, 2023 04:29
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.

1 participant