Page 1 of 1

[boskid] [0.17.68] Train takes wrong path when stations are on both sides

Posted: Wed Sep 11, 2019 5:18 am
by boskid
train-wrong-path.png
train-wrong-path.png (344.58 KiB) Viewed 1836 times
train-wrong-path.zip
(243.78 KiB) Downloaded 118 times
Issue: Based on https://wiki.factorio.com/Railway/Train_path_finding, train should choose upper path with 3 stations ("train stop that is not the destination" -> 3*2000 penalty). Instead it chooses bottom path with 4 stations. (4*2000 penalty)
Expected: Train should choose upper path.

Ref: 75107 (more description, investigation, proposed fix)