Skip to content

Instantly share code, notes, and snippets.

View anpavlov's full-sized avatar

Andrey Pavlov anpavlov

View GitHub Profile
import random
from chromosome import Chromosome
dim = 10
chromosome_length = dim # min is (dim - 2)
my_src = 4
my_dest = 1
my_gens = 1000
quite = True