abrogley / pptool

Route finding tool for Pocket Planes
GNU General Public License v3.0
0 stars 0 forks source link

Fix bug where adding more intermediate cities creates an path that violates maxRange #1

Open abrogley opened 8 years ago

abrogley commented 8 years ago

This happens on the Honolulu to Easter Island route when the last argument in getMidpointBetween method is 3, not 4. The algorithm decides on a segment that is Oaxaca to Easter Island which violates max range for a Mohawk.