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

Update VehicleRoutingProblem.java

This commit is contained in:
jsprit 2013-12-27 21:51:40 +01:00
parent 525bc4c2f2
commit 1f234dea74

View file

@ -259,13 +259,13 @@ public class VehicleRoutingProblem {
} }
/** /**
* Sets the activityCostFunction that considers also activities on a vehicle-route. * Sets the activity-costs.
* *
* <p>Here you can consider missed time-windows for example. By default, this is set to a DefaultVehicleActivityCostFunction. * <p>By default it is set to zero.
* *
* @param activityCosts * @param activityCosts
* @return * @return
* @see VehicleRoutingTransportCosts, DefaultVehicleRouteCostFunction * @see VehicleRoutingActivityCosts
*/ */
public Builder setActivityCosts(VehicleRoutingActivityCosts activityCosts){ public Builder setActivityCosts(VehicleRoutingActivityCosts activityCosts){
this.activityCosts = activityCosts; this.activityCosts = activityCosts;