diff --git a/src/database/sql_database.py b/src/database/sql_database.py index 968bb80..2992e5a 100644 --- a/src/database/sql_database.py +++ b/src/database/sql_database.py @@ -111,6 +111,7 @@ class SQL_Database: return query_data[0] + def get_generation_total_fitness(self): """Get each generations total fitness sum from the database """ @@ -121,6 +122,7 @@ class SQL_Database: return formated_query_data + def get_total_generations(self): """Get the total generations from the database""" @@ -128,6 +130,7 @@ class SQL_Database: return query_data + def get_highest_chromosome(self): """Get the highest fitness of each generation""" @@ -138,6 +141,7 @@ class SQL_Database: return formated_query_data; + def get_lowest_chromosome(self): """Get the lowest fitness of each generation"""