Updated naming convetions.
This commit is contained in:
@ -13,7 +13,7 @@ from structure import Chromosome as make_chromosome
|
||||
from structure import Gene as make_gene
|
||||
|
||||
# Misc. Methods
|
||||
from examples import Fitness_Examples
|
||||
from examples import Fitness
|
||||
from termination import Termination
|
||||
|
||||
# Parent/Survivor Selection Methods
|
||||
|
||||
@ -14,7 +14,7 @@ from structure import Chromosome as make_chromosome
|
||||
from structure import Gene as make_gene
|
||||
|
||||
# Misc. Methods
|
||||
from examples import Fitness_Examples
|
||||
from examples import Fitness
|
||||
from termination import Termination
|
||||
|
||||
# Parent/Survivor Selection Methods
|
||||
@ -44,7 +44,7 @@ class Attributes:
|
||||
#=====================#
|
||||
|
||||
# Default EasyGA implimentation structure
|
||||
fitness_function_impl = Fitness_Examples.is_it_5
|
||||
fitness_function_impl = Fitness.is_it_5
|
||||
make_population = make_population
|
||||
make_chromosome = make_chromosome
|
||||
make_gene = make_gene
|
||||
|
||||
@ -2,7 +2,8 @@
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
class Matplotlib_Graph:
|
||||
"""Prebuilt graphing functions to make visual represention of fitness data. """
|
||||
"""Prebuilt graphing functions to make visual
|
||||
represention of fitness data."""
|
||||
|
||||
# Common graphing functions
|
||||
type_of_graph_dict = {
|
||||
|
||||
Reference in New Issue
Block a user