2024-12-07 19:23:45 +01:00
|
|
|
package solver
|
|
|
|
|
2025-01-25 19:45:31 +01:00
|
|
|
import (
|
2025-01-27 23:46:26 +01:00
|
|
|
"gitea.ligthert.net/golang/sudoku-funpark/controller"
|
2025-01-25 19:45:31 +01:00
|
|
|
)
|
2025-01-25 19:08:31 +01:00
|
|
|
|
2025-01-27 18:41:15 +01:00
|
|
|
// Struct/Interface containing all the important variabes it functions need access to.
|
2024-12-07 19:23:45 +01:00
|
|
|
type Solver struct {
|
2025-01-27 23:46:26 +01:00
|
|
|
Controller *controller.Controller
|
2024-12-07 19:23:45 +01:00
|
|
|
}
|
2025-01-27 23:46:26 +01:00
|
|
|
|
|
|
|
// type Solver struct {
|
|
|
|
// blocks []int
|
|
|
|
// Row1 string
|
|
|
|
// Row2 string
|
|
|
|
// Row3 string
|
|
|
|
// Row4 string
|
|
|
|
// Row5 string
|
|
|
|
// Row6 string
|
|
|
|
// Row7 string
|
|
|
|
// Row8 string
|
|
|
|
// Row9 string
|
|
|
|
// row1s []int
|
|
|
|
// row2s []int
|
|
|
|
// row3s []int
|
|
|
|
// row4s []int
|
|
|
|
// row5s []int
|
|
|
|
// row6s []int
|
|
|
|
// row7s []int
|
|
|
|
// row8s []int
|
|
|
|
// row9s []int
|
|
|
|
// Iter int64
|
|
|
|
// counter atomic.Int64
|
|
|
|
// solutions []string
|
|
|
|
// rates []int64
|
|
|
|
// NumCPUs int
|
|
|
|
// Split int
|
|
|
|
// Part int
|
|
|
|
// }
|