Skip to content
This repository has been archived by the owner. It is now read-only.

Perform full normalization of a traversal #2

Open
fyrchik opened this issue Feb 20, 2020 · 0 comments
Open

Perform full normalization of a traversal #2

fyrchik opened this issue Feb 20, 2020 · 0 comments

Comments

@fyrchik
Copy link
Owner

fyrchik commented Feb 20, 2020

Sometimes the result of a combination produces the right but rotated traversal. This is because traversal can start from any side of a figure. Such traversals are considered non-equal when list equality is considered.

This can fixed in 2 ways:

  1. Perform full normalization so that traversal rotated to each other have the same normalized form.
  2. Implement custom equality predicate which takes rotations into consideration.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant