alessiogambi / AsFault

Evolutionary test case generation for simulation testing of autonomous vehicles.
MIT License
25 stars 10 forks source link

Crossover and Mutation #12

Closed tariqsameed closed 5 years ago

tariqsameed commented 5 years ago

I analyze the cross over and mutation files but unable to grasp the following concept. I don't understand how crossover and mutation of real numbers performed by AsFault.

For instance chromosome A: 2|5|3|9|6 chromosome B: 1|4|3|8|6

  1. How do you restrict the value of each gene between 0 and 9?
  2. how did you configure out the crossover and mutation probability.