SudokuFX
Loading...
Searching...
No Matches
Package fr.softsf.sudokufx.common.util.sudoku

Classes

interface  GridConverter
 Component providing conversions between different Sudoku grid representations: More...
 
class  GridConverterUTest
 
interface  GridMaster
 Provides essential functionalities for generating and solving Sudoku puzzles. More...
 
class  GridMasterUTest
 
class  GridViewModelUTest
 

Functions

record GrilleResolue (boolean solved, @Nonnull @NotNull(message="solvedGrid must not be null") @Size(min=81, max=81, message="solvedGrid must contain exactly 81 elements") int[] solvedGrid, @Min(value=0, message="possibilityPercentage must be >= 0") @Max(value=100, message="possibilityPercentage must be <= 100") int possibilityPercentage)
 Record representing the result of solving a Sudoku grid.
 
record GrillesCrees ( @Nonnull @NotNull(message="grilleResolue must not be null") @Size(min=81, max=81, message="grilleResolue must contain exactly 81 elements") int[] grilleResolue, @Nonnull @NotNull(message="grilleAResoudre must not be null") @Size(min=81, max=81, message="grilleAResoudre must contain exactly 81 elements") int[] grilleAResoudre, @Min(value=0, message="pourcentageDesPossibilites must be >= 0") @Max(value=100, message="pourcentageDesPossibilites must be <= 100") int pourcentageDesPossibilites)
 Record representing the result of a grid generation: the solved grid, the puzzle grid, and the estimated possibility percentage.
 

Function Documentation

◆ GrilleResolue()

record fr.softsf.sudokufx.common.util.sudoku.GrilleResolue ( boolean solved,
@Nonnull @NotNull(message="solvedGrid must not be null") @Size(min=81, max=81, message="solvedGrid must contain exactly 81 elements") int[] solvedGrid,
@Min(value=0, message="possibilityPercentage must be >= 0") @Max(value=100, message="possibilityPercentage must be <= 100") int possibilityPercentage )

Record representing the result of solving a Sudoku grid.

Contains :

  • solved: whether the grid was successfully solved
  • solvedGrid: the solved grid or partially filled grid if no complete solution was found
  • possibilityPercentage: percentage of possibilities, between 0 and 100, estimating coherence or difficulty
+ Here is the call graph for this function:

◆ GrillesCrees()

record fr.softsf.sudokufx.common.util.sudoku.GrillesCrees ( @Nonnull @NotNull(message="grilleResolue must not be null") @Size(min=81, max=81, message="grilleResolue must contain exactly 81 elements") int[] grilleResolue,
@Nonnull @NotNull(message="grilleAResoudre must not be null") @Size(min=81, max=81, message="grilleAResoudre must contain exactly 81 elements") int[] grilleAResoudre,
@Min(value=0, message="pourcentageDesPossibilites must be >= 0") @Max(value=100, message="pourcentageDesPossibilites must be <= 100") int pourcentageDesPossibilites )

Record representing the result of a grid generation: the solved grid, the puzzle grid, and the estimated possibility percentage.

Line="33" is excluded from Checkstyle's LineLength check (see checkstyle-suppressions.xml).

+ Here is the call graph for this function: