Skip to content

[ENHANCEMENT] <description> Sudoku Possible Numbers for Cell creates more branches than necessary sometimes #936

@NordLee

Description

@NordLee

Describe the current behavior of what you're trying to improve. If your enhancement request related to a problem, please also describe the problem.

If a number already exists in the row, column, or region that the rule is being applied to we do not need to create a branch for the number.

Describe the improvement you'd like

Image

For example in the very top left cell we do not need to generate 9 branches for number 1-9. We can instead just generate 2 branches as there are only 2 unknown numbers in the region.

Describe alternatives you've considered

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement to existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions