-
Notifications
You must be signed in to change notification settings - Fork 3
Cycleroute preference
Poutnik edited this page Apr 21, 2017
·
13 revisions
The system of cycle route prioritization was reworked in incoming Trekking-Poutnik v2.6. ( currently develop branch )
- It distinguishes cycleroutes ( CR ) as short distance ones SDCR ( Local LCN and regional RCN ) and long distance LDCR ( national NCN and international ICN )
- The numerical parameter cycleroute_pref with value range 0.0 - 1.0 remains.
- The raw costfactor CF is modified as CF = CF + correction.
- For non cycleroutes, correction = cycleroute_pref.
- For international cycleroutes(ICN): correction = "boostcoef " = ( 1 - CF ) * cycleroute_pref.
- For national cycleroutes NCN and "local" cycleroutes ( LCN, RCN ),
the correction is a weighted average of the above corrections.- NCN correction = cycleroute_pref * ncncoef + boostcoef * ( 1 - ncncoef )
- LCN correction = cycleroute_pref * lcncoef + boostcoef * ( 1 - lcncoef )
lcrcoef = cycleroute_pref * 1.0 ncrcoef = cycleroute_pref * 0.2
CF=Costfactor, CR=cycleroute, LCR/RCR/NCR/ICN = Local/Regional/National/International cycleroute
Mod | Values | Effects |
---|---|---|
Ignore cycleroutes | 0.0 | Marking as cycleroute has no effect |
Short distance trips | <=0.2 | mildly penalizes non CRs |
Mediums distance treks | 0.3 .. 0.7 | Penalizes non CRs, prefers short distance cycleroutes, strongly prefers long distance cycleroute. |
Long distance treks | >=0.8 | ICN strongly pushed toward CF=1.0, NCN mildly penalized. Strongly penalizes short distance CRs and even more non CRs. Aimed for following long distance cycleroutes, mainly ICN. |
Cycleroute_pref | Original CF | Non CR CF | LCR/RCR CF | NCR CF | ICR CF |
---|---|---|---|---|---|
0 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
0.2 | 1.00 | 1.20 | 1.04 | 1.01 | 1.00 |
0.5 | 1.00 | 1.50 | 1.25 | 1.05 | 1.00 |
0.8 | 1.00 | 1.80 | 1.64 | 1.13 | 1.00 |
1 | 1.00 | 2.00 | 2.00 | 1.20 | 1.00 |
0 | 1.50 | 1.50 | 1.50 | 1.50 | 1.50 |
0.2 | 1.50 | 1.70 | 1.46 | 1.41 | 1.40 |
0.5 | 1.50 | 2.00 | 1.63 | 1.33 | 1.25 |
0.8 | 1.50 | 2.30 | 2.06 | 1.29 | 1.10 |
1 | 1.50 | 2.50 | 2.50 | 1.30 | 1.00 |
0 | 2.00 | 2.00 | 2.00 | 2.00 | 2.00 |
0.2 | 2.00 | 2.20 | 1.88 | 1.82 | 1.80 |
0.5 | 2.00 | 2.50 | 2.00 | 1.60 | 1.50 |
0.8 | 2.00 | 2.80 | 2.48 | 1.46 | 1.20 |
1 | 2.00 | 3.00 | 3.00 | 1.40 | 1.00 |