Wolfram Technology Guide: Combinatorial Optimization
◄
previous
|
next
►
Find Shortest Paths in String Space
Find a "shortest path" with respect to edit distance in the space of country names.
In[1]:=
Text[#[[Last[ FindShortestTour[#, DistanceFunction -> EditDistance]]]] &[ CountryData[]]]
Out[1]=