No description
Find a file
2014-03-22 18:23:22 +01:00
ants.py Refactor naming scheme 2014-03-22 18:23:22 +01:00
lindenmayer.py adds a separated module for plotting 2014-03-20 23:29:41 +01:00
penrose_tsp.py use a L-system to generate a penrose tiling and save it in the TSPlib format 2011-07-24 08:06:06 +02:00
README.md Refactor naming scheme 2014-03-22 18:23:22 +01:00
run_all.py Refactor naming scheme 2014-03-22 18:23:22 +01:00
shortpath.py Refactor naming scheme 2014-03-22 18:23:22 +01:00
test_tsp.py test tsplib import/export on a simple square 2011-07-24 08:04:29 +02:00
tsplib.py bugfix tsplib indexing 2014-03-20 23:32:16 +01:00
uberplot.py adds a separated module for plotting 2014-03-20 23:29:41 +01:00
utils.py Refactor naming scheme 2014-03-22 18:23:22 +01:00

Use a turtle to draw vertex built by a Lindenmayer system, construct a penrose tiling with it, convert it to a TSP problem.

Draw a P3 penrose tiling at depth 2 and output its corresponding TSPLIB file : python lindenmayer.py 2 > penrose3_2.tsp

Read a TSPLIB file and its optimal tour and draw them: python tsplib.py penrose3_1.tsp penrose3_2.opt.tour