V - the graph vertex typeE - the graph edge typeHamiltonianCycleAlgorithm@Deprecated public interface TSPAlgorithm<V,E> extends HamiltonianCycleAlgorithm<V,E>
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?
| Modifier and Type | Method and Description |
|---|---|
GraphPath<V,E> |
getTour(Graph<V,E> graph)
Deprecated.
Computes a tour.
|
Copyright © 2018. All rights reserved.