├── .github └── workflows │ ├── build_ci.yml │ └── publish.yml ├── .gitignore ├── README.md ├── data ├── us_cities.csv └── world_capitals.csv ├── geneal ├── __init__.py ├── applications │ ├── __init__.py │ ├── fitness_functions │ │ ├── __init__.py │ │ ├── binary.py │ │ └── continuous.py │ ├── template.py │ └── tsp │ │ ├── __init__.py │ │ ├── examples │ │ ├── __init__.py │ │ ├── cities.py │ │ ├── us_cities │ │ │ ├── __init__.py │ │ │ ├── _us_cities.py │ │ │ └── graph.py │ │ └── world_capitals │ │ │ ├── __init__.py │ │ │ ├── _world_capitals.py │ │ │ └── graph.py │ │ ├── helpers │ │ ├── __init__.py │ │ ├── _create_graph.py │ │ └── _plot_cities.py │ │ ├── mutation_strategies.py │ │ └── travelling_salesman_problem.py ├── genetic_algorithms │ ├── __init__.py │ ├── _binary.py │ ├── _continuous.py │ └── genetic_algorithm_base.py ├── utils │ ├── exceptions.py │ ├── exceptions_messages.py │ ├── helpers.py │ └── logger.py └── version.py ├── license.txt ├── poetry.lock ├── pyproject.toml ├── scripts └── update_version.py └── tests ├── applications ├── fixtures │ ├── cities.pickle │ ├── tsp_test_fixture.py │ ├── us_cities.pickle │ └── world_capitals.pickle ├── test_helpers_examples.py ├── test_template_child_class.py ├── test_travelling_salesman_problem_solver.py └── test_tsp_mutation_strategies.py ├── genetic_algorithms ├── test_binary_genetic_algorithm.py ├── test_continuous_genetic_algorithm.py └── test_genetic_algorithm_base.py └── mock_fixtures └── mock_fixtures.py /.github/workflows/build_ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/.github/workflows/build_ci.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/README.md -------------------------------------------------------------------------------- /data/us_cities.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/data/us_cities.csv -------------------------------------------------------------------------------- /data/world_capitals.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/data/world_capitals.csv -------------------------------------------------------------------------------- /geneal/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /geneal/applications/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /geneal/applications/fitness_functions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /geneal/applications/fitness_functions/binary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/applications/fitness_functions/binary.py -------------------------------------------------------------------------------- /geneal/applications/fitness_functions/continuous.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/applications/fitness_functions/continuous.py -------------------------------------------------------------------------------- /geneal/applications/template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/applications/template.py -------------------------------------------------------------------------------- /geneal/applications/tsp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /geneal/applications/tsp/examples/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /geneal/applications/tsp/examples/cities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/applications/tsp/examples/cities.py -------------------------------------------------------------------------------- /geneal/applications/tsp/examples/us_cities/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/applications/tsp/examples/us_cities/__init__.py -------------------------------------------------------------------------------- /geneal/applications/tsp/examples/us_cities/_us_cities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/applications/tsp/examples/us_cities/_us_cities.py -------------------------------------------------------------------------------- /geneal/applications/tsp/examples/us_cities/graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/applications/tsp/examples/us_cities/graph.py -------------------------------------------------------------------------------- /geneal/applications/tsp/examples/world_capitals/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/applications/tsp/examples/world_capitals/__init__.py -------------------------------------------------------------------------------- /geneal/applications/tsp/examples/world_capitals/_world_capitals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/applications/tsp/examples/world_capitals/_world_capitals.py -------------------------------------------------------------------------------- /geneal/applications/tsp/examples/world_capitals/graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/applications/tsp/examples/world_capitals/graph.py -------------------------------------------------------------------------------- /geneal/applications/tsp/helpers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/applications/tsp/helpers/__init__.py -------------------------------------------------------------------------------- /geneal/applications/tsp/helpers/_create_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/applications/tsp/helpers/_create_graph.py -------------------------------------------------------------------------------- /geneal/applications/tsp/helpers/_plot_cities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/applications/tsp/helpers/_plot_cities.py -------------------------------------------------------------------------------- /geneal/applications/tsp/mutation_strategies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/applications/tsp/mutation_strategies.py -------------------------------------------------------------------------------- /geneal/applications/tsp/travelling_salesman_problem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/applications/tsp/travelling_salesman_problem.py -------------------------------------------------------------------------------- /geneal/genetic_algorithms/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/genetic_algorithms/__init__.py -------------------------------------------------------------------------------- /geneal/genetic_algorithms/_binary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/genetic_algorithms/_binary.py -------------------------------------------------------------------------------- /geneal/genetic_algorithms/_continuous.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/genetic_algorithms/_continuous.py -------------------------------------------------------------------------------- /geneal/genetic_algorithms/genetic_algorithm_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/genetic_algorithms/genetic_algorithm_base.py -------------------------------------------------------------------------------- /geneal/utils/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/utils/exceptions.py -------------------------------------------------------------------------------- /geneal/utils/exceptions_messages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/utils/exceptions_messages.py -------------------------------------------------------------------------------- /geneal/utils/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/utils/helpers.py -------------------------------------------------------------------------------- /geneal/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/geneal/utils/logger.py -------------------------------------------------------------------------------- /geneal/version.py: -------------------------------------------------------------------------------- 1 | __version__ = "0.5.0" 2 | -------------------------------------------------------------------------------- /license.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/license.txt -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/pyproject.toml -------------------------------------------------------------------------------- /scripts/update_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/scripts/update_version.py -------------------------------------------------------------------------------- /tests/applications/fixtures/cities.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/tests/applications/fixtures/cities.pickle -------------------------------------------------------------------------------- /tests/applications/fixtures/tsp_test_fixture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/tests/applications/fixtures/tsp_test_fixture.py -------------------------------------------------------------------------------- /tests/applications/fixtures/us_cities.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/tests/applications/fixtures/us_cities.pickle -------------------------------------------------------------------------------- /tests/applications/fixtures/world_capitals.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/tests/applications/fixtures/world_capitals.pickle -------------------------------------------------------------------------------- /tests/applications/test_helpers_examples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/tests/applications/test_helpers_examples.py -------------------------------------------------------------------------------- /tests/applications/test_template_child_class.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/tests/applications/test_template_child_class.py -------------------------------------------------------------------------------- /tests/applications/test_travelling_salesman_problem_solver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/tests/applications/test_travelling_salesman_problem_solver.py -------------------------------------------------------------------------------- /tests/applications/test_tsp_mutation_strategies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/tests/applications/test_tsp_mutation_strategies.py -------------------------------------------------------------------------------- /tests/genetic_algorithms/test_binary_genetic_algorithm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/tests/genetic_algorithms/test_binary_genetic_algorithm.py -------------------------------------------------------------------------------- /tests/genetic_algorithms/test_continuous_genetic_algorithm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/tests/genetic_algorithms/test_continuous_genetic_algorithm.py -------------------------------------------------------------------------------- /tests/genetic_algorithms/test_genetic_algorithm_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/tests/genetic_algorithms/test_genetic_algorithm_base.py -------------------------------------------------------------------------------- /tests/mock_fixtures/mock_fixtures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diogomatoschaves/geneal/HEAD/tests/mock_fixtures/mock_fixtures.py --------------------------------------------------------------------------------