jde: disable debug printing
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
leo 2023-02-09 03:56:31 +01:00
parent 7f4e3baf1a
commit 13aaac9597
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ
2 changed files with 6 additions and 12 deletions

View File

@ -173,9 +173,9 @@ funcStats := &stats.FuncStats{BenchName: j.BenchName}
Max: benchFuncParams.Max(),
}
jDELogger.Printf("running bench \"%s\" for %dD, maxFES: %d\n",
j.BenchName, dim, maxFES,
)
// jDELogger.Printf("running bench \"%s\" for %dD, maxFES: %d\n",
// j.BenchName, dim, maxFES,
// )
funcStats.BenchResults = make([]stats.BenchRound, j.BenchMinIters)
@ -216,10 +216,6 @@ funcStats.BenchResults[iter].Iteration = iter
bestResult = r
default:
jDELogger.Printf("run: %d, bench: %s, %dD, iteration: %d/%d",
iter, j.BenchName, dim, i, fesPerIter-1,
)
// call evolve where jDE runs.
j.evolve(pop, &uniDist)

View File

@ -105,9 +105,9 @@ func (p *Population) Init() {
}
uniform.Src = rand.NewSource(p.Seed)
jDELogger.Printf("population initialisation - popCount: %d, seed: %d\n",
len(p.Population), p.Seed,
)
// jDELogger.Printf("population initialisation - popCount: %d, seed: %d\n",
// len(p.Population), p.Seed,
// )
for i, v := range p.Population {
v.CurX = make([]float64, p.Dimen)
@ -118,8 +118,6 @@ func (p *Population) Init() {
p.Population[i] = v
}
jDELogger.Println("population initialised")
}
// Reinit reinitialises all individuals.