Skip to main content
. 2019 Jul 5;19(13):2981. doi: 10.3390/s19132981
Algorithm 1 Basic evolutionary strategy.
while true do
   token, solutionsampler.ask() ▹ ask for candidate solution
   loss ← evaluate(solution) ▹ evaluate the given solution
   sampler.update(token, loss) ▹ give fitness result back to ES
   sampler.update(token, loss)
   if loss < REQUIRED_LOSS then
     break
   end if
end while