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

ijump optimization: don't penalize for returning along the parent path #27

Open
Tracked by #54
seveibar opened this issue Aug 14, 2024 · 0 comments
Open
Tracked by #54

Comments

@seveibar
Copy link
Contributor

See how the top movement scores above the left movement? This is (in part) because the left movement is receiving a penalty for traversing too far to the right. We can optimize this by making it so if we travel backwards, we take the parent of our parent. (i.e. the parent of node "1" should be the parent of "X", rather than node "1"'s parent being "X")

image

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

No branches or pull requests

1 participant