@@ -0,0 +1,1926 @@
+/*%0A * Licensed to GraphHopper GmbH under one or more contributor%0A * license agreements. See the NOTICE file distributed with this work for%0A * additional information regarding copyright ownership.%0A *%0A * GraphHopper GmbH licenses this file to you under the Apache License,%0A * Version 2.0 (the %22License%22); you may not use this file except in%0A * compliance with the License. You may obtain a copy of the License at%0A *%0A *       http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage com.graphhopper.jsprit.core.problem.solution.route.activity;%0A%0Aimport com.graphhopper.jsprit.core.problem.Location;%0Aimport com.graphhopper.jsprit.core.problem.job.Service;%0A%0Apublic class ActWithoutStaticLocation extends ServiceActivity %7B%0A%0A    private Location previousLocation;%0A%0A    private Location nextLocation;%0A%0A    protected ActWithoutStaticLocation(Service service) %7B%0A        super(service);%0A    %7D%0A%0A    protected ActWithoutStaticLocation(ActWithoutStaticLocation serviceActivity) %7B%0A        super(serviceActivity);%0A        this.previousLocation = serviceActivity.getPreviousLocation();%0A        this.nextLocation = serviceActivity.getNextLocation();%0A    %7D%0A%0A    public Location getLocation() %7B%0A        return previousLocation;%0A    %7D%0A%0A    public Location getPreviousLocation() %7B%0A        return previousLocation;%0A    %7D%0A%0A    public Location getNextLocation() %7B%0A        return nextLocation;%0A    %7D%0A%0A    public void setPreviousLocation(Location previousLocation) %7B%0A        this.previousLocation = previousLocation;%0A    %7D%0A%0A    public void setNextLocation(Location nextLocation) %7B%0A        this.nextLocation = nextLocation;%0A    %7D%0A%7D%0A

add act without static location