Commit b5862a04 authored by Julian Zobel's avatar Julian Zobel
Browse files

Sysout remove

parent 4be49a4e
......@@ -247,12 +247,8 @@ public class RealWorldStreetsMovement extends AbstractLocalMovementStrategy {
if(allowAlternativeRoutes && rsp.hasAlternatives() && rsp.getBest().getDistance() > 50) {
// alternative route is taken with a certain chance
if(random.nextDouble() <= probabilityForAlternativeRoute) {
List<PathWrapper> paths = rsp.getAll();
List<PathWrapper> paths = rsp.getAll();
int pick = random.nextInt(paths.size() - 1) + 1;
System.out.println(pick + " / " + paths.size());
pointList = rsp.getAll().get(pick).getPoints();
}
}
......
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