Commit 7e0270a2 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent 94e6bdea
......@@ -20,6 +20,7 @@ export class Quality {
assert(0 <= this.reliability && this.reliability <= 1);
assert(this.cost >= 0);
if (this.reliability === 0) {
// 同样都是不通的,选直连
return 10000 + this.cost;
} else {
// 公式
......
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