1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

added unit test to test vehicle dependent time-windows

This commit is contained in:
oblonski 2014-07-17 20:22:12 +02:00
parent 78ce320187
commit e81b37c57a
2 changed files with 14 additions and 2 deletions

View file

@ -18,7 +18,7 @@ public class UpdateVehicleDependentPracticalTimeWindows implements ReverseActivi
} }
private final VehiclesToUpdate vehiclesToUpdate = new VehiclesToUpdate() { private VehiclesToUpdate vehiclesToUpdate = new VehiclesToUpdate() {
@Override @Override
public Collection<Vehicle> get(VehicleRoute route) { public Collection<Vehicle> get(VehicleRoute route) {
@ -48,8 +48,9 @@ public class UpdateVehicleDependentPracticalTimeWindows implements ReverseActivi
} }
public void setVehiclesToUpdate(VehiclesToUpdate vehiclesToUpdate){ public void setVehiclesToUpdate(VehiclesToUpdate vehiclesToUpdate){
this.vehiclesToUpdate = vehiclesToUpdate;
} }
@Override @Override
public void begin(VehicleRoute route) { public void begin(VehicleRoute route) {
this.route = route; this.route = route;
@ -76,5 +77,6 @@ public class UpdateVehicleDependentPracticalTimeWindows implements ReverseActivi
@Override @Override
public void finish() {} public void finish() {}
} }

View file

@ -0,0 +1,10 @@
package jsprit.core.problem.constraint;
/**
* unit tests to test vehicle dependent time-windows
*/
public class VehicleDependentTimeWindowTest {
}