types.go 469 B

123456789101112131415161718192021222324
  1. package solver
  2. import (
  3. "sync/atomic"
  4. "gitea.ligthert.net/golang/sudoku-funpark/controller"
  5. )
  6. // Struct/Interface containing all the important variabes it functions need access to.
  7. type Solver struct {
  8. Controller *controller.Controller
  9. row1s []int
  10. row2s []int
  11. row3s []int
  12. row4s []int
  13. row5s []int
  14. row6s []int
  15. row7s []int
  16. row8s []int
  17. row9s []int
  18. Iter int64
  19. counter atomic.Int64
  20. rates []int64
  21. }