Skip to content

Commit

Permalink
fix: Fixed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Agrover112 committed Jun 22, 2021
1 parent d90f12a commit dec8e61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ga_utils.py
@@ -1,3 +1,4 @@
import random
def crossover(domain, solution_1, solution_2):
gene = random.randint(1, len(domain) - 2)
return solution_1[0:gene] + solution_2[gene:]
Expand Down

0 comments on commit dec8e61

Please sign in to comment.