Workers Evaluate Individuals
- function worker (bs_a, bs_b, bs_c, bs_d)
- int bs_a, bs_b, bs_c, bs_d
- float a, b, c, d, fit
- a = (bs_a - 32768.0) / 1000.0
- b = (bs_b - 32768.0) / 1000.0
- c = (bs_c - 32768.0) / 1000.0
- d = (bs_d - 32768.0) / 1000.0
- fit = {evaluate {a} {b} {c} {d}}
- return_result@0.0 {mytotalnode} {bs_a} {bs_b} \
- {bs_c} {bs_d} {fit}
- end
Notes:
No notes for slide 61