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:
parent
525bc4c2f2
commit
1f234dea74
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
* @return
|
||||
* @see VehicleRoutingTransportCosts, DefaultVehicleRouteCostFunction
|
||||
* @see VehicleRoutingActivityCosts
|
||||
*/
|
||||
public Builder setActivityCosts(VehicleRoutingActivityCosts activityCosts){
|
||||
this.activityCosts = activityCosts;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue