te
這個提交存在於:
父節點
1bac558e24
當前提交
c73b5118a4
共有 2 個檔案被更改,包括 1 行新增 和 1 行删除
|
@ -228,7 +228,7 @@ public class Path {
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public double getTravelTime(double speed) {
|
public double getTravelTime(double speed) {
|
||||||
return speed*3600/(getLength()*1000);
|
return speed/(getLength()*3.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
載入中…
新增問題並參考