Commit 88537650 authored by nanamicat's avatar nanamicat

metric

parent 1cb294c0
......@@ -18,7 +18,7 @@ impl Quality {
}
pub fn metric(&self) -> i32 {
self.delay + ((1.0 - self.reliability) * 3000.0).round() as i32 + self.cost as i32
self.delay + ((1.0 - self.reliability) * 4000.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