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

When there are sure mines, consider them in model evaluation #12

Open
gdahia opened this issue Feb 1, 2018 · 5 comments
Open

When there are sure mines, consider them in model evaluation #12

gdahia opened this issue Feb 1, 2018 · 5 comments

Comments

@gdahia
Copy link
Owner

gdahia commented Feb 1, 2018

Whenever a sure mine is found, it is not currently accounted for in subsequent model evaluations. This would be an improvement over the number of possible models evaluated and moves considered.

@gdahia
Copy link
Owner Author

gdahia commented Feb 1, 2018

The interpretation for this pheonemon is: opening the board might make a previously sure mine be ambiguous, meaning that not only information might be lost with cell openings, but a different sequent of moves might not shed light on the same mines.

@gdahia
Copy link
Owner Author

gdahia commented Feb 1, 2018

ie, do not count flagged cells as closed.

gdahia pushed a commit that referenced this issue Feb 1, 2018
@gdahia
Copy link
Owner Author

gdahia commented Feb 1, 2018

it is not as simple as not counting flagged cells as closed.

@gdahia
Copy link
Owner Author

gdahia commented Feb 1, 2018

possible implementation by @pedrovidal is fixing the flag value in model evaluation as 1. therefore, we could skip models not satisfying this assingment by doing an and between a bitstring with this info and the model and seeing that it is different from the original bitstring

@gdahia gdahia changed the title When there are sure mine, consider them in model evaluation When there are sure mines, consider them in model evaluation Feb 2, 2018
@pedrovidal
Copy link
Collaborator

closed in branch flag

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

2 participants