mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
deprecate ruin method
This commit is contained in:
parent
904a0036b1
commit
db7bd290dc
1 changed files with 2 additions and 0 deletions
|
|
@ -297,7 +297,9 @@ final class RuinRadial extends AbstractRuinStrategy {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes targetJob and its neighborhood and returns the removed jobs.
|
* Removes targetJob and its neighborhood and returns the removed jobs.
|
||||||
|
* @deprecated will be private
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public Collection<Job> ruinRoutes(Collection<VehicleRoute> vehicleRoutes, Job targetJob, int nOfJobs2BeRemoved){
|
public Collection<Job> ruinRoutes(Collection<VehicleRoute> vehicleRoutes, Job targetJob, int nOfJobs2BeRemoved){
|
||||||
List<Job> unassignedJobs = new ArrayList<Job>();
|
List<Job> unassignedJobs = new ArrayList<Job>();
|
||||||
int nNeighbors = nOfJobs2BeRemoved - 1;
|
int nNeighbors = nOfJobs2BeRemoved - 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue