te
This commit is contained in:
parent
1bac558e24
commit
c73b5118a4
2 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue