Tutorvo

Single-Point Crossover: LEFT, RIGHT & a Gene-Wise IF

Lesson 5 of 816 minLab

This lesson is part of the course

In this lesson

You pick cut points from given random numbers, cross three pairs of 5-bit parents with LEFT and RIGHT, then cross two backpack parents gene by gene with IF and weigh the child.

Buy the course once for $9.99 to unlock every lesson and lab, the final exam and the certificate – lifetime access, no subscription.

Lessons in this course

  1. Encoding Solutions as Bit Strings: BIN2DEC & SUMPRODUCTLab14 min Locked
  2. Fitness with a Penalty: Scoring Over-Weight BackpacksLab15 min Locked
  3. Roulette-Wheel Selection: Cumulative Shares & MATCHLab16 min Locked
  4. Tournament Selection: Random Entrants, Fitter One WinsLab15 min Locked
  5. Single-Point Crossover: LEFT, RIGHT & a Gene-Wise IFLab16 min Locked
  6. Bit-Flip Mutation: Flip a Gene When u < pmLab14 min Locked
  7. One Full Generation: Select, Cross, Mutate, Re-ScoreLab18 min Locked
  8. Convergence over Generations vs the Brute-Force OptimumLab16 min Locked