B C D F G I J L M N P Q R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- BLOCK_COUNT - Static variable in interface de.sfuhrm.sudoku.GameMatrix
-
The total number of blocks in one dimension.
- BLOCK_SIZE - Static variable in interface de.sfuhrm.sudoku.GameMatrix
-
The edge dimension of a 3x3 block.
C
- canSet(int, int, byte) - Method in interface de.sfuhrm.sudoku.GameMatrix
-
Checks if the effect of one set operation is valid.
- clear() - Method in interface de.sfuhrm.sudoku.GameMatrix
-
Clear the cells.
- createFull() - Static method in class de.sfuhrm.sudoku.Creator
-
Creates a valid fully setup sudoku.
- createNumbersToDistribute(Random, int) - Static method in class de.sfuhrm.sudoku.Creator
-
Create a random array with numbers to distribute.
- createRiddle(GameMatrix) - Static method in class de.sfuhrm.sudoku.Creator
-
Creates a riddle setup sudoku.
- createVariant(GameMatrix) - Static method in class de.sfuhrm.sudoku.Creator
-
Creates a variant of a fully-filled game matrix.
- Creator - Class in de.sfuhrm.sudoku
-
Creates a fully filled sudoku.
D
- de.sfuhrm.sudoku - package de.sfuhrm.sudoku
-
Sudoku riddle creation and solving classes.
- de.sfuhrm.sudoku.output - package de.sfuhrm.sudoku.output
-
Sudoku output / formatting classes.
- documentEnd() - Method in interface de.sfuhrm.sudoku.output.GameMatrixFormatter
-
Formats the document end part.
- documentEnd() - Method in class de.sfuhrm.sudoku.output.JsonArrayFormatter
- documentEnd() - Method in class de.sfuhrm.sudoku.output.LatexTableFormatter
- documentStart() - Method in interface de.sfuhrm.sudoku.output.GameMatrixFormatter
-
Formats the document start part.
- documentStart() - Method in class de.sfuhrm.sudoku.output.JsonArrayFormatter
- documentStart() - Method in class de.sfuhrm.sudoku.output.LatexTableFormatter
F
- format(GameMatrix) - Method in interface de.sfuhrm.sudoku.output.GameMatrixFormatter
-
Formats the input game matrix to a text representation.
- format(GameMatrix) - Method in class de.sfuhrm.sudoku.output.JsonArrayFormatter
- format(GameMatrix) - Method in class de.sfuhrm.sudoku.output.LatexTableFormatter
- format(GameMatrix) - Method in class de.sfuhrm.sudoku.output.MarkdownTableFormatter
- format(GameMatrix) - Method in class de.sfuhrm.sudoku.output.PlainTextFormatter
G
- GameMatrix - Interface in de.sfuhrm.sudoku
-
The quadratic matrix of a game field.
- GameMatrixFactory - Class in de.sfuhrm.sudoku
-
A factory for creating game matrix objects.
- GameMatrixFactory() - Constructor for class de.sfuhrm.sudoku.GameMatrixFactory
-
Creates a new game matrix factory instance.
- GameMatrixFormatter - Interface in de.sfuhrm.sudoku.output
-
Formats the game matrix to a text representation.
- get(int, int) - Method in interface de.sfuhrm.sudoku.GameMatrix
-
Get the value of a field.
- getArray() - Method in interface de.sfuhrm.sudoku.GameMatrix
-
Gets a copy of the underlying array.
- getSetBitOffset(int, int) - Static method in class de.sfuhrm.sudoku.Creator
-
Get the index of the nth bit set.
- getSetCount() - Method in interface de.sfuhrm.sudoku.GameMatrix
-
Get the number of set cells.
- getWritable(int, int) - Method in interface de.sfuhrm.sudoku.Riddle
-
Get whether a certain field is writable.
I
- isValid() - Method in interface de.sfuhrm.sudoku.GameMatrix
-
Checks if the whole play field is valid.
J
- JsonArrayFormatter - Class in de.sfuhrm.sudoku.output
-
Formats the game matrices to a 3-dimensional JSON array.
- JsonArrayFormatter() - Constructor for class de.sfuhrm.sudoku.output.JsonArrayFormatter
-
Constructs a new instance.
L
- LatexTableFormatter - Class in de.sfuhrm.sudoku.output
-
Formats the game matrix to a LaTeX document.
- LatexTableFormatter() - Constructor for class de.sfuhrm.sudoku.output.LatexTableFormatter
-
Constructs a new instance.
- LIMIT - Static variable in class de.sfuhrm.sudoku.Solver
-
The default limit.
M
- MarkdownTableFormatter - Class in de.sfuhrm.sudoku.output
-
Formats the game matrix to a markdown table.
- MarkdownTableFormatter() - Constructor for class de.sfuhrm.sudoku.output.MarkdownTableFormatter
- MAXIMUM_VALUE - Static variable in interface de.sfuhrm.sudoku.GameMatrix
-
The valid value that is the maximum (9).
- MINIMUM_VALUE - Static variable in interface de.sfuhrm.sudoku.GameMatrix
-
The valid value that is the minimum (1).
N
- newGameMatrix() - Method in class de.sfuhrm.sudoku.GameMatrixFactory
-
Creates a new GameMatrix instance.
- newRiddle() - Method in class de.sfuhrm.sudoku.GameMatrixFactory
-
Creates a new Riddle instance.
P
- parse(String...) - Static method in class de.sfuhrm.sudoku.QuadraticArrays
-
Parses a string based field descriptor.
- PlainTextFormatter - Class in de.sfuhrm.sudoku.output
-
Formats the game matrix to a plain text.
- PlainTextFormatter() - Constructor for class de.sfuhrm.sudoku.output.PlainTextFormatter
Q
- QuadraticArrays - Class in de.sfuhrm.sudoku
-
Helper methods for working on two-dimensional arrays.
R
- Riddle - Interface in de.sfuhrm.sudoku
-
A riddle with free / writable fields.
S
- set(int, int, byte) - Method in interface de.sfuhrm.sudoku.GameMatrix
-
Set the value of a field.
- setAll(byte[][]) - Method in interface de.sfuhrm.sudoku.GameMatrix
-
Sets all cells to the given values.
- setIndent(boolean) - Method in class de.sfuhrm.sudoku.output.JsonArrayFormatter
-
Whether to indent the output or not.
- setLimit(int) - Method in class de.sfuhrm.sudoku.Solver
-
Set the limit for maximum results.
- setWritable(int, int, boolean) - Method in interface de.sfuhrm.sudoku.Riddle
-
Set a certain field writable.
- SIZE - Static variable in interface de.sfuhrm.sudoku.GameMatrix
-
The size in one dimension.
- solve() - Method in class de.sfuhrm.sudoku.Solver
-
Solves the Sudoku problem.
- Solver - Class in de.sfuhrm.sudoku
-
Solves a partially filled Sudoku.
- Solver(GameMatrix) - Constructor for class de.sfuhrm.sudoku.Solver
-
Creates a solver for the given riddle.
- swapColumn(GameMatrix, int, int) - Static method in class de.sfuhrm.sudoku.Creator
-
Swaps two columns in the given matrix.
- swapRow(GameMatrix, int, int) - Static method in class de.sfuhrm.sudoku.Creator
-
Swaps two rows in the given matrix.
T
- TOTAL_FIELDS - Static variable in interface de.sfuhrm.sudoku.GameMatrix
-
The total number of fields.
U
- UNSET - Static variable in interface de.sfuhrm.sudoku.GameMatrix
-
The value that is assigned to unset fields.
V
- validCoords(int, int) - Static method in interface de.sfuhrm.sudoku.GameMatrix
-
Is the coordinate pair passed valid?
- validValue(byte) - Static method in interface de.sfuhrm.sudoku.GameMatrix
-
Is the value passed in valid for a field?
All Classes All Packages