Move all variables to the controller interface.

This commit is contained in:
2025-01-27 23:46:26 +01:00
parent 3bcb5b95e7
commit d8636d07f4
12 changed files with 150 additions and 140 deletions

34
controller/types.go Normal file
View File

@ -0,0 +1,34 @@
package controller
import (
"sync/atomic"
)
type Controller 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
}