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+"]";
|
||||
}
|
||||
|
||||
/**
|
||||
* @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<Constraint> getProblemConstraints(){
|
||||
return Collections.unmodifiableCollection(problemConstraints);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the entire, unmodifiable collection of types.
|
||||
*
|
||||
|
|
@ -594,5 +574,25 @@ public class VehicleRoutingProblem {
|
|||
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