The Genetic Algorithm Python Files
Below are all the files that are used by the genetic algorithm to run.
Table of Contents
- GA_Program.py
- GA_Program_Details.py
- Cluster.py
- Surface.py
- Collection.py
CollectionCollection.add()Collection.add_clusters_into_RAM()Collection.add_metadata()Collection.add_to_database()Collection.add_to_history_file()Collection.assess_clusters_in_database()Collection.backup_database()Collection.check_PoolProfileTXT_exists()Collection.check_clusters_in_database()Collection.check_database_and_determine_if_to_use_backup()Collection.check_historyfile()Collection.close()Collection.create_collection_history()Collection.delete_collection_database()Collection.does_contain_database()Collection.get_cluster_energies()Collection.get_cluster_from_name()Collection.get_cluster_names()Collection.get_clusters()Collection.get_history_path()Collection.get_index()Collection.get_max_mean_min_energies()Collection.history_file_name()Collection.import_clusters_from_database_to_memory()Collection.is_there_an_energy_range()Collection.make_collection_folder()Collection.max_energy()Collection.mean_energy()Collection.min_energy()Collection.move_backup_database_to_normal_backup()Collection.open()Collection.pop()Collection.read_collection_database()Collection.remove()Collection.remove_backup_database()Collection.remove_backup_database_if_exists()Collection.remove_clusters_from_database_that_are_from_unsuccessful_generations()Collection.remove_to_database()Collection.replace()Collection.sort_by_energy()Collection.sort_by_name()Collection.view_cluster()
- Collections_Iterator.py
- Population.py
PopulationPopulation.backup_files()Population.backup_state_file()Population.current_state_file()Population.get_current_generation_from_state_file()Population.get_data_from_current_state_file()Population.get_details()Population.get_pool_folder_size()Population.move_backup_to_current_files()Population.print_clusters()Population.remove_backup_files()Population.remove_backup_state_file()Population.remove_backup_state_file_if_exists()Population.repair_current_state_file()
- EnergyProfile.py
EnergyProfileEnergyProfile.GA_Starts()EnergyProfile.add_collection()EnergyProfile.add_epoch_note()EnergyProfile.add_epoch_note_due_to_population_energy_convergence()EnergyProfile.add_found_LES_note()EnergyProfile.add_to()EnergyProfile.check()EnergyProfile.close()EnergyProfile.create()EnergyProfile.get_current_generation_and_last_cluster_generated_from_EnergyProfile()EnergyProfile.is_LES_note_in_EnergyProfile()EnergyProfile.open()
remove_end_lines_from_text()tail()
- Offspring_Pool.py
- GA_Setup.py
- GA_Initiate.py
- GA_Introducing_Remarks.py
- Initialise_Population.py
- Get_Offspring.py
- Crossover.py
CrossoverCrossover.Cut_and_Splice_Devon_and_Ho()Crossover.centre_offspring_at_centre_of_cell()Crossover.centre_parents_about_origin()Crossover.displacement_of_plane()Crossover.half_index_custom_method()Crossover.half_index_half_method()Crossover.half_index_random_method()Crossover.half_index_weighted_method()Crossover.mate_Cut_and_Splice()Crossover.mate_Cut_and_Splice_error_checking_1()Crossover.mate_Cut_and_Splice_error_checking_2()Crossover.mating()Crossover.pickParentsFromThePopulation()Crossover.rotate()Crossover.roulette()Crossover.run()Crossover.tournament()
- Mutation.py
- Types_Of_Mutations.py
- Get_Predation_and_Fitness_Operators.py
- Predation Operators
- Fitness Operators
- SCM Scripts
- Epoch.py
EpochEpoch.backup()Epoch.change_fitness_function()Epoch.check_for_backup()Epoch.did_get_data_from_backup()Epoch.does_backup_exist()Epoch.does_epoch_data_exist_on_disk()Epoch.get_resumed_mean_energy_epoch_details()Epoch.get_resumed_same_population_epoch_details()Epoch.information_from_the_same_generation()Epoch.initialise_mean_energy_epoch_details()Epoch.initialise_same_population_epoch_details()Epoch.no_epoch()Epoch.perform_epoch()Epoch.perform_epoch_mean_energy()Epoch.perform_epoch_no_epoch()Epoch.perform_epoch_same_population()Epoch.remove_backup()Epoch.replace_with_backup()Epoch.set_settings()Epoch.setting_up_epoch_to_resume_GA()Epoch.should_epoch()Epoch.should_epoch_using_mean_energy_epoch()Epoch.should_epoch_using_same_population_epoch()
- Memory_Operator.py
- ExternalDefinitions.py
- GA_Recording_System.py
GA_Recording_DatabaseGA_Recording_Database.add()GA_Recording_Database.add_clusters_into_RAM()GA_Recording_Database.add_collection_to_database()GA_Recording_Database.check_clusters_in_database()GA_Recording_Database.get_cluster_names()GA_Recording_Database.get_index()GA_Recording_Database.import_information_from_database()GA_Recording_Database.remove_to_database()GA_Recording_Database.sort_by_energy()GA_Recording_Database.sort_by_name()GA_Recording_Database.update_cluster_in_database_for_if_in_population()
GA_Recording_SystemGA_Recording_System.add_collection()GA_Recording_System.add_metadata()GA_Recording_System.check_clusters_in_database()GA_Recording_System.import_information_from_database()GA_Recording_System.record_collection()GA_Recording_System.record_initial_populations()GA_Recording_System.record_population_at_generation()GA_Recording_System.resume_ga_recording_system_from_current_generation()GA_Recording_System.update_cluster_in_database_for_if_in_population()
convert_to_bytes()get_size()make_folder()
- Timer.py