Skip to content

fix: do not append start and goal if perfect match path found#966

Draft
HiroIshida wants to merge 3 commits intoompl:mainfrom
HiroIshida:fix/dont_append_if_perfect_match
Draft

fix: do not append start and goal if perfect match path found#966
HiroIshida wants to merge 3 commits intoompl:mainfrom
HiroIshida:fix/dont_append_if_perfect_match

Conversation

@HiroIshida
Copy link
Copy Markdown
Contributor

@HiroIshida HiroIshida commented Jan 9, 2023

In lightning, if perfect match solution found, actually there is no need to append start and goal state.
To avoid adding duplicating start and goal states, adding conditioning depending on where the score is zero (perfect match) or not.
This PR fix this bug.

TODO:

  • I found another bug: even when not perfect match case, path seems duplicated. So I will check and ix this if that is a bug.
    This PR is complete as the current state, but I'd like to add test for this, (draft now)if test: add test for experience based planner #962 could be marged.

@HiroIshida HiroIshida marked this pull request as draft January 9, 2023 01:22
@HiroIshida HiroIshida marked this pull request as ready for review January 9, 2023 01:33
@HiroIshida HiroIshida marked this pull request as draft January 9, 2023 01:34
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