Updated comments on crossover and selection
This commit is contained in:
@ -1,3 +1,15 @@
|
||||
class crossover_examples:
|
||||
"""Crossover examples will go here """
|
||||
pass
|
||||
""" Crossover explination goes here.
|
||||
|
||||
Points - Defined as sections between the chromosomes genetic makeup
|
||||
"""
|
||||
|
||||
def single_point_crossover(ga):
|
||||
"""Single point crossover is when a "point" is selected and the genetic
|
||||
make up of the two parent chromosomes are "Crossed" or better known as swapped"""
|
||||
pass
|
||||
|
||||
def multi_point_crossover(ga,number_of_points = 2):
|
||||
"""Multi point crossover is when a specific number (More then one) of
|
||||
"points" are created to merge the genetic makup of the chromosomes."""
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user