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

Generalize action building #22

Open
1 of 13 tasks
rhalbersma opened this issue Aug 8, 2017 · 0 comments
Open
1 of 13 tasks

Generalize action building #22

rhalbersma opened this issue Aug 8, 2017 · 0 comments
Assignees

Comments

@rhalbersma
Copy link
Owner

rhalbersma commented Aug 8, 2017

  • store visited squares and jump order (suitable for GUIs that do jump path animation)
  • counting container (incrementing a counter, rather than building an action) when keeping duplicates
    • for trivial jump precedence
    • for non-trivial jump precedence
  • successor container (building the successor state, rather than an action)
  • make an action_view (inspired by std::string_view) that can adopt either
    • an action
    • a state and an action
    • two states
  • action_view should support
    • jump precedence comparisons
    • make on states
    • undo on states
@rhalbersma rhalbersma self-assigned this Aug 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant