(current *image.RGBA, score float64)
| 37 | } |
| 38 | |
| 39 | func (worker *Worker) Init(current *image.RGBA, score float64) { |
| 40 | worker.Current = current |
| 41 | worker.Score = score |
| 42 | worker.Counter = 0 |
| 43 | worker.Heatmap.Clear() |
| 44 | } |
| 45 | |
| 46 | func (worker *Worker) Energy(shape Shape, alpha int) float64 { |
| 47 | worker.Counter++ |
no test coverage detected