tmsmr / ingress-optimal-tour

optimize your ingress farming
2 stars 0 forks source link

Wich format for data CSV? #1

Closed stillru closed 11 years ago

stillru commented 11 years ago

How to use your tool?

tmsmr commented 11 years ago

At first: This tool is a "proof of concept" yet...the algorithm delivers good results for me though.

You need scipy and numpy to execute the script.

usage: python2 ingress_optimal_tour.py in_uni_vaih.csv out_uni_vaih_5kmh 5 0

input-file (portal+distance-definitions): in_uni_vaih.csv in example usage CSV-File (Size count(portals)+1 X count(portals)+1) with known distances between the portals (in m or km) as showed in the example. You need to define at least a spanning tree.

output-file (resulting path): out_uni_vaih_5kmh in example usage 1 line is total duration of the tour (in seconds) following lines are the path to walk

speed (kmh): 5 in example usage

evolutions: 0 in example usage Defines how often the genetic algorithm is executed (0 for infinite)

Regards, Thomas Feel free to ask if you need further help

stillru commented 11 years ago

Thankyou.