Compare commits
2 commits
fe83a92509
...
f235455a18
Author | SHA1 | Date | |
---|---|---|---|
|
f235455a18 | ||
|
1c915e6f16 |
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ public class Path {
|
|||
*/
|
||||
public double getTravelTime(double speed) {
|
||||
// TODO:
|
||||
return 0;
|
||||
return getLength() * 3600.0 / (speed * 1000.0);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue