Calculation of unlit_factor
#4725
-
Hi, I am quite curious about the calculation of the valhalla/src/sif/dynamiccost.cc Lines 365 to 368 in 6fbe96e Thank you |
Beta Was this translation helpful? Give feedback.
Answered by
chrstnbwnkl
May 14, 2024
Replies: 1 comment 3 replies
-
Yeah there was a discussion about it when it was introduced in #3957 . The idea was to convert the |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
ChenW12
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah there was a discussion about it when it was introduced in #3957 . The idea was to convert the
use_lit
value (a float between 0 and 1) into a cost factor in a way that does not impact costing whenuse_lit == 0
, and also has a stronger impact whenuse_lit > 0.5
.