TravelTime
This commit is contained in:
parent
68b73d1b17
commit
1c915e6f16
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ public class Path {
|
||||||
*/
|
*/
|
||||||
public double getTravelTime(double speed) {
|
public double getTravelTime(double speed) {
|
||||||
// TODO:
|
// TODO:
|
||||||
return 0;
|
return getLength() * 3600.0 / (speed * 1000.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue