Previously, weather_factor, which scales weather cost against haversine cost, was fixed for all planet sizes. This would cause longer-than-optimal paths to be routed, as seen below in red. This change ensures that the weather factor is halved for each planet size larger than 10, and doubled for each planet size lower.
Paths for planet size 11 & 12, shown before change in red, and after change in white
Previously, weather_factor, which scales weather cost against haversine cost, was fixed for all planet sizes. This would cause longer-than-optimal paths to be routed, as seen below in red. This change ensures that the weather factor is halved for each planet size larger than 10, and doubled for each planet size lower.
Paths for planet size 11 & 12, shown before change in red, and after change in white