allParcels.addAll(vs.route.get());
}
}
for (int i = 0; i < state.vehicles.size(); i++) {
final VehicleStateObject vs = state.vehicles.get(i);
checkArgument(vs.remainingServiceTime >= 0,
"Remaining service time must be >= 0, is %s.",
vs.remainingServiceTime);
checkArgument(vs.speed > 0, "Speed must be positive, is %s.", vs.speed);