Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 538 Bytes

tour.rst

File metadata and controls

26 lines (17 loc) · 538 Bytes

Tour

Algorithms

The travelling salesman problem (TSP) asks the following question: "Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city exactly once and returns to the origin city?".

The following algorithms are available:

jgrapht.algorithms.tour

Types

Tours are represented with instances of :py.GraphPath.

jgrapht.types.GraphPath