(svn r13942) -Codechange [YAPP]: Add a penalty for double slips to YAPF. (michi_cc)

This commit is contained in:
rubidium
2008-08-02 22:51:23 +00:00
parent 8c7983727e
commit ecc509195a
3 changed files with 13 additions and 0 deletions

View File

@@ -220,6 +220,7 @@ struct YAPFSettings {
int32 rail_look_ahead_signal_p2; ///< constant in polynomial penalty function
uint32 rail_pbs_cross_penalty; ///< penalty for crossing a reserved tile
uint32 rail_pbs_signal_back_penalty; ///< penalty for passing a pbs signal from the backside
uint32 rail_doubleslip_penalty; ///< penalty for passing a double slip switch
uint32 rail_longer_platform_penalty; ///< penalty for longer station platform than train
uint32 rail_longer_platform_per_tile_penalty; ///< penalty for longer station platform than train (per tile)