Skip to content

huang-me/parallel_TSP_gene_algo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Traveler salesman problem with multi-threaded genetic algorithm

Tools

  • std::thread
  • pybind11

Execution

./pytest.py

API

  • generate graph
    _graph.Graph(#_of_nodes, initial_vertex, random_graph)
    
  • build environment according to the graph
    _Genetic.Genetic_thread(_graph.Graph, population_size, #_of_generations, mutation_rate, #_of_threads, show_population)
    
  • run genetic algorithm
    _Genetic.Genetic_thread.run()
    

Result

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published