huiwang / codingame-scala-kit

Create Better CG Bot in Scala
23 stars 15 forks source link

Add sample test on Genetic Algo #27

Closed huiwang closed 7 years ago

Wei-1 commented 7 years ago

I will love to write the tests is no one else had already started it.

huiwang commented 7 years ago

@Wei-1 Nobody works on it. I tried but didn't find a good problem to demo GA.

Wei-1 commented 7 years ago

I will give it a try then.

huiwang commented 7 years ago

@Wei-1 I got one idea for the sample test: coder strike back! We can simplify the test by taking into account only one pod. The objective is to build a racer pod that finishes 3 laps as fast as possible. what do you think?

Wei-1 commented 7 years ago

@huiwang How about from start-point to a waypoint and then go back?

huiwang commented 7 years ago

Yes, we can get started with this scenario. I think of CSB example because there are no constraints on the generated candidate solution. We are free to make any kind of mutation and crossover.

Wei-1 commented 7 years ago

https://github.com/TrueLaurel/CodinGame-Scala-Kit/pull/49

huiwang commented 7 years ago

Thx for the Test!