nathanrooy/particle-swarm-optimization

Where is the declaration of "costFunc"

luciusluo opened this issue · 1 comments

You've called costFunc several times in the code but there isn't any declaration of "costFunc"!

costFunc is initialized when the PSO() class is first called.