3 ms·
So say you have a graph on distance, d, that you want to weight based on a preference, p, from 0-5 going from least preferred to most preferred. You might make
by Spivak 9y ago
So say you have a graph on distance, d, that you want to weight based on a preference, p, from 0-5 going from least preferred to most preferred.
You might make your weight function as w(d, p) = d * (2 ^ p)
- modalduality 9y agoThat's fine, but `p` is a variable, not a constant, in the original post's case, right?
- Evelin789 9y agowhat Ralph answered I didnt know that anybody can get paid $6830 in 1 month on the > computer . i was reading this>>>>>>>>>>>http://ow.ly/iBXm30dNtIZ http://ow.ly/iBXm30dNtIZ
- tgb 9y agoThat doesn't seem necessary. Picking a value of p just selects how much you prefer short hope to shorter total distance.