class PlanningLocation {

    public long distanceTo(PlanningLocation location) {
        if (this == location) {
            return 0L;
        }
        return travelDistanceMap.distanceTo(location);
    }

      PlanningLocation(long id, double latitude, double longitude, DistanceMap travelDistanceMap);

}