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

Confuse with Backjumping algorithm #1

Open
ThuriyaThwin opened this issue Feb 19, 2020 · 0 comments
Open

Confuse with Backjumping algorithm #1

ThuriyaThwin opened this issue Feb 19, 2020 · 0 comments

Comments

@ThuriyaThwin
Copy link

Hi! I confuse about backjumping algorithm and could you explain me a little detail please. The point I stuck is

if status:
                return True, new_grid, steps, set()
            elif (next_row + 8*next_column) not in new_conflicts:
                return False, grid, num_steps, new_conflicts
            else:
                new_conflicts.remove(next_row + 8*next_column)
                conflicts = conflicts.union(new_conflicts)

            num_steps = steps
            grid[next_row, next_column] = 0
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