jpeterbaker / maxfield

Code for maximizing the Ingress fields on a given set fo portals
GNU General Public License v3.0
165 stars 56 forks source link

Portal order in CSV affects result #12

Closed skarcha closed 10 years ago

skarcha commented 10 years ago

Why the order you put the portals in the CSV file affects the links you should create? I think that order should not affect it. Am I wrong?

Anyway, thank you very much for your program. Very useful! ;)

jpeterbaker commented 10 years ago

The order of the portals in the CSV does not affect the plan you get. The plan may be different each time you use the program because some link decisions are made randomly.

skarcha commented 10 years ago

Ok! Thanks for your answer... But, could it be possible to indicate the program to take into account the order or the portals in the CSV file?

Suppose I would like to follow a route from portal 1 (order in CSV file) to portal 10 (order in CSV file) and backward, from portal 10 to portal 1, so the program should calculate the number of keys to get the max number of fields doing only the number of routes I'll have time to do, from portal 1 to 10 and backward.

Would it be difficult to implement?

Thank you very much for your answer and program... ;)

jpeterbaker commented 10 years ago

That's an interesting question. Getting the most fields from a fixed walking path is a very different problem that I've never thought about before. I don't think it would be easy to write, and I'm not planning to work on it soon, but if you figure it out, let me know and we'll work on writing it up.