mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
contribution guidelines checks (#1787)
* spelling corrections * review * improved documentation, removed redundant variables, added testing * added type hint * camel case to snake case * spelling fix * review * python --> Python # it is a brand name, not a snake * explicit cast to int * spaces in int list * "!= None" to "is not None" * Update comb_sort.py * various spelling corrections in documentation & several variables naming conventions fix * + char in file name * import dependency - bug fix Co-authored-by: John Law <johnlaw.po@gmail.com>
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
"""
|
||||
This is pure python implementation of Tabu search algorithm for a Travelling Salesman Problem, that the distances
|
||||
This is pure Python implementation of Tabu search algorithm for a Travelling Salesman Problem, that the distances
|
||||
between the cities are symmetric (the distance between city 'a' and city 'b' is the same between city 'b' and city 'a').
|
||||
The TSP can be represented into a graph. The cities are represented by nodes and the distance between them is
|
||||
represented by the weight of the ark between the nodes.
|
||||
|
Reference in New Issue
Block a user