From aa34f09429ca7bc87b6f2f8af2ebae2c88942937 Mon Sep 17 00:00:00 2001 From: Stefan Schroeder <4sschroeder@gmail.com> Date: Tue, 3 Dec 2013 15:22:24 +0100 Subject: [PATCH] re-order methods in VehicleRoutingProblem --- .../core/problem/VehicleRoutingProblem.java | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) 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); + } }