...
function(value, ideal_value, weight, inverse)
(ideal_value/value) * weight, if ideal_value < value
(value/ideal_value) * weight, if ideal_value > value
Eg:
latency - 1ms (ideal)
candidate_latency - 20 ms
normalized - 1/20 → 0.05
throughput - 1000Mbps
candidate_throughput - 100 Mbps
normalized - 100/1000 → 0.1
Impact Analysis
API - no impact
...