diff --git a/jsprit-core/src/main/java/jsprit/core/problem/VehicleRoutingProblem.java b/jsprit-core/src/main/java/jsprit/core/problem/VehicleRoutingProblem.java index 539a192d..99af56b5 100644 --- a/jsprit-core/src/main/java/jsprit/core/problem/VehicleRoutingProblem.java +++ b/jsprit-core/src/main/java/jsprit/core/problem/VehicleRoutingProblem.java @@ -498,15 +498,6 @@ public class VehicleRoutingProblem { "transportCost="+transportCosts+"][activityCosts="+activityCosts+"]"; } - /** - * @deprecated see builder.setNeighborhood(...). addConstraint(...) instead. - * @return the neighborhood - */ - @Deprecated - public Neighborhood getNeighborhood() { - return neighborhood; - } - /** * Returns fleet-composition. * @@ -536,17 +527,6 @@ public class VehicleRoutingProblem { return Collections.unmodifiableMap(jobs); } - /** - * Returns unmodifiable collection of problem-constraints. - * - * @deprecated use .getConstraints() and builder.add - * @return - */ - @Deprecated - public Collection getProblemConstraints(){ - return Collections.unmodifiableCollection(problemConstraints); - } - /** * Returns the entire, unmodifiable collection of types. * @@ -593,6 +573,26 @@ public class VehicleRoutingProblem { public Collection getConstraints(){ return Collections.unmodifiableCollection(constraints); } + + /** + * @deprecated see builder.setNeighborhood(...). addConstraint(...) instead. + * @return the neighborhood + */ + @Deprecated + public Neighborhood getNeighborhood() { + return neighborhood; + } + + /** + * Returns unmodifiable collection of problem-constraints. + * + * @deprecated use .getConstraints() and builder.add + * @return + */ + @Deprecated + public Collection getProblemConstraints(){ + return Collections.unmodifiableCollection(problemConstraints); + } }