More tests + GUI
[ltsps.git] / ltspsClosestNeighbourHeuristic.m
blob51242e015ca5a48f37108e133a867164bb5f427f
1 function [route, length] = ltspsClosestNeighbourHeuristic (distanceMatrix)
2     % Trivial wrapper around the ltspsGreedyHeuristic function to provide a
3     % heuristic for the closest neighbour without having to add a
4     % parameter.
5     [route, length] = ltspsGreedyHeuristic(distanceMatrix,1);
6 end