Documentation
¶
Index ¶
Constants ¶
View Source
const ( SolutionSize = 16 PuzzleSize = 16 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PuzzleSolution ¶
type PuzzleSolution []byte
type PuzzleSolver ¶
func NewPuzzleSolver ¶
func NewPuzzleSolver(p *Puzzle) *PuzzleSolver
func (*PuzzleSolver) IsValidSolution ¶
func (ps *PuzzleSolver) IsValidSolution(solution PuzzleSolution) bool
func (*PuzzleSolver) Solve ¶
func (ps *PuzzleSolver) Solve() SolvingResult
type SolvingResult ¶
type SolvingResult struct {
Solution PuzzleSolution
HashTried int
}
Click to show internal directories.
Click to hide internal directories.