mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
re-order methods in VehicleRoutingProblem
This commit is contained in:
parent
257c0a6ebe
commit
aa34f09429
1 changed files with 20 additions and 20 deletions
|
|
@ -498,15 +498,6 @@ public class VehicleRoutingProblem {
|
||||||
"transportCost="+transportCosts+"][activityCosts="+activityCosts+"]";
|
"transportCost="+transportCosts+"][activityCosts="+activityCosts+"]";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated see builder.setNeighborhood(...). addConstraint(...) instead.
|
|
||||||
* @return the neighborhood
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public Neighborhood getNeighborhood() {
|
|
||||||
return neighborhood;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns fleet-composition.
|
* Returns fleet-composition.
|
||||||
*
|
*
|
||||||
|
|
@ -536,17 +527,6 @@ public class VehicleRoutingProblem {
|
||||||
return Collections.unmodifiableMap(jobs);
|
return Collections.unmodifiableMap(jobs);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns unmodifiable collection of problem-constraints.
|
|
||||||
*
|
|
||||||
* @deprecated use .getConstraints() and builder.add
|
|
||||||
* @return
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public Collection<Constraint> getProblemConstraints(){
|
|
||||||
return Collections.unmodifiableCollection(problemConstraints);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the entire, unmodifiable collection of types.
|
* Returns the entire, unmodifiable collection of types.
|
||||||
*
|
*
|
||||||
|
|
@ -593,6 +573,26 @@ public class VehicleRoutingProblem {
|
||||||
public Collection<jsprit.core.problem.constraint.Constraint> getConstraints(){
|
public Collection<jsprit.core.problem.constraint.Constraint> getConstraints(){
|
||||||
return Collections.unmodifiableCollection(constraints);
|
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<Constraint> getProblemConstraints(){
|
||||||
|
return Collections.unmodifiableCollection(problemConstraints);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue