Commit 377c3acf authored by nanamicat's avatar nanamicat

metric

parent 333453ae
Pipeline #42454 passed with stages
in 2 minutes and 33 seconds
......@@ -23,7 +23,7 @@ impl Quality {
if self.reliability == 0.0 {
i32::MAX
} else {
self.delay + (self.delay as f32 * (1.0 - self.reliability) * 10.0).round() as i32 + self.cost as i32
self.delay + ((1.0 - self.reliability) * 2000.0).round() as i32 + self.cost as i32
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment