Some how we lost the crossover folder
This commit is contained in:
@ -12,6 +12,7 @@ from survivor_selection import Survivor_methods
|
|||||||
# Manipulation Methods
|
# Manipulation Methods
|
||||||
from parent_selection import Parent_methods
|
from parent_selection import Parent_methods
|
||||||
from mutation import Mutation_methods
|
from mutation import Mutation_methods
|
||||||
|
from crossover import Crossover_methods
|
||||||
|
|
||||||
class GA:
|
class GA:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|||||||
1
src/crossover/README.md
Normal file
1
src/crossover/README.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
# Mutation functions
|
||||||
2
src/crossover/__init__.py
Normal file
2
src/crossover/__init__.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# FROM (. means local) file_name IMPORT function_name
|
||||||
|
from .methods import Crossover_methods
|
||||||
3
src/crossover/methods.py
Normal file
3
src/crossover/methods.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
class Crossover_methods:
|
||||||
|
"""Mutation examples will go here """
|
||||||
|
pass
|
||||||
0
src/crossover/test_methods.py
Normal file
0
src/crossover/test_methods.py
Normal file
Reference in New Issue
Block a user