class Route {

    @Override
    public String toString() {
        return "Route{" +
                "vehicle=" + vehicle +
                ", depot=" + depot.id() +
                ", visits=" + visits.stream().map(Location::id).collect(toList()) +
                '}';
    }

    public  Route(Vehicle vehicle, Location depot, List<Location> visits);

}