Package de.sfuhrm.sudoku
Class GameSchemas
java.lang.Object
de.sfuhrm.sudoku.GameSchemas
Pre-defined game schema instances.
Since the game uses 32-bit-int helper structures internally,
the 25x25 game schema is the biggest.
Note: The 16x16 and 25x25 game schemas don't work
with the current approach since the search space is too
big.
- Author:
- Stephan Fuhrmann
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GameSchemaGame schema for 16x16 sudokus, block width is 4 cells.static final GameSchemaGame schema for 25x25 sudokus, block width is 5 cells.static final GameSchemaGame schema for 4x4 sudokus, block width is 2 cells.static final GameSchemaGame schema for 9x9 sudokus, block width is 3 cells. -
Method Summary
Modifier and TypeMethodDescriptionstatic List<GameSchema>Get the list of supported game schema definitions.
-
Field Details
-
SCHEMA_4X4
Game schema for 4x4 sudokus, block width is 2 cells. -
SCHEMA_9X9
Game schema for 9x9 sudokus, block width is 3 cells. -
SCHEMA_16X16
Game schema for 16x16 sudokus, block width is 4 cells. This setting is unusable for the current algorithm! -
SCHEMA_25X25
Game schema for 25x25 sudokus, block width is 5 cells. This setting is unusable for the current algorithm!
-
-
Method Details
-
getSupportedGameSchemas
Get the list of supported game schema definitions.- Returns:
- the list of game schema definitions supported by this library.
-