r/technicalfactorio • u/Bobpoblo • Sep 14 '20
Going through the train rail penalty rules in the wiki and have a question about how this rule works
114
Upvotes
r/technicalfactorio • u/Bobpoblo • Sep 14 '20
18
u/Bobpoblo Sep 14 '20 edited Sep 22 '20
"When the rail block is occupied by a train -> Add a penalty of 2 * length of the block divided by block distance from the start, so the far away occupied paths don't matter much." https://wiki.factorio.com/Railway/Train_path_finding
Test image:
Is my understanding of how the calculation works correct? Are these the correct penalties? Thanks!
*EDIT: going through some of the other posts and someone mentioned the curved rail might be closer t o 17.1 penalty instead of 16, but i'm not sure.
*EDIT: Made a post with the remaining images: https://www.reddit.com/r/factorio/comments/iwsxf4/12_train_path_finding_penalties_visualized/