2024-12-07 19:23:45 +01:00
|
|
|
package solver
|
|
|
|
|
2025-01-25 19:08:31 +01:00
|
|
|
import "sync/atomic"
|
|
|
|
|
2024-12-07 19:23:45 +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
|
2024-12-08 14:19:55 +01:00
|
|
|
iter int64
|
2025-01-25 19:08:31 +01:00
|
|
|
counter atomic.Int64
|
2024-12-07 19:23:45 +01:00
|
|
|
solutions []string
|
2025-01-25 14:34:51 +01:00
|
|
|
rates []int64
|
2024-12-07 19:23:45 +01:00
|
|
|
}
|