Class GameSchemas

java.lang.Object
de.sfuhrm.sudoku.GameSchemas

public final class GameSchemas extends Object
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 Details

    • SCHEMA_4X4

      public static final GameSchema SCHEMA_4X4
      Game schema for 4x4 sudokus, block width is 2 cells.
    • SCHEMA_9X9

      public static final GameSchema SCHEMA_9X9
      Game schema for 9x9 sudokus, block width is 3 cells.
    • SCHEMA_16X16

      public static final GameSchema SCHEMA_16X16
      Game schema for 16x16 sudokus, block width is 4 cells. This setting is unusable for the current algorithm!
    • SCHEMA_25X25

      public static final GameSchema SCHEMA_25X25
      Game schema for 25x25 sudokus, block width is 5 cells. This setting is unusable for the current algorithm!
  • Method Details

    • getSupportedGameSchemas

      public static List<GameSchema> getSupportedGameSchemas()
      Get the list of supported game schema definitions.
      Returns:
      the list of game schema definitions supported by this library.