Macros§
- stringify_
variables - A macro to concatenate a list of variable labels into a formatted string.
Structs§
- Complexity
Class - Represents a complexity class as an integer value.
- Graph
- Tile
Enums§
Functions§
- classify_
puzzle - Classifies the given puzzle and returns its complexity as a
ComplexityClass
. - generate_
puzzle - Generates a puzzle with a valid Eulerian cycle and removes a specified number of tiles.
- generate_
valid_ puzzle - Generates a valid puzzle of size
n
that can later be customized by complexity class and randomness. - get_
missing_ tiles - solve_
puzzle - Attempts to solve a given puzzle using a recursive backtracking approach.
- validate_
puzzle - Validates a given puzzle solution by computing a model and checking the objective value.