| 32 | typedef EA::GenerationType<MySolution,MyMiddleCost> Generation_Type; |
| 33 | |
| 34 | void init_genes(MySolution& p,const std::function<double(void)> &rnd01) |
| 35 | { |
| 36 | p.x=20.0*rnd01()-10.0; |
| 37 | p.y=20.0*rnd01()-10.0; |
| 38 | } |
| 39 | |
| 40 | bool eval_solution( |
| 41 | const MySolution& p, |
no outgoing calls
no test coverage detected