types.go 610 B

1234567891011121314151617181920212223242526272829303132333435
  1. package solver
  2. import (
  3. "sync/atomic"
  4. )
  5. // Struct/Interface containing all the important variabes it functions need access to.
  6. type Solver struct {
  7. blocks []int
  8. row1 string
  9. row2 string
  10. row3 string
  11. row4 string
  12. row5 string
  13. row6 string
  14. row7 string
  15. row8 string
  16. row9 string
  17. row1s []int
  18. row2s []int
  19. row3s []int
  20. row4s []int
  21. row5s []int
  22. row6s []int
  23. row7s []int
  24. row8s []int
  25. row9s []int
  26. iter int64
  27. counter atomic.Int64
  28. solutions []string
  29. rates []int64
  30. numCPUs int
  31. split int
  32. part int
  33. }