Commit 5414643b authored by nanamicat's avatar nanamicat

metric

parent 473d1dae
...@@ -18,7 +18,7 @@ impl Quality { ...@@ -18,7 +18,7 @@ impl Quality {
} }
pub fn metric(&self) -> i32 { 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