Skip to content

Commit a855cc5

Browse files
committed
allow access to job calculator factories and rename switcher to selector
1 parent 7b4731d commit a855cc5

File tree

1 file changed

+2
-2
lines changed
  • jsprit-core/src/main/java/com/graphhopper/jsprit/core/algorithm/box

1 file changed

+2
-2
lines changed

jsprit-core/src/main/java/com/graphhopper/jsprit/core/algorithm/box/Jsprit.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,15 +341,15 @@ public Builder setJobFilter(JobFilter jobFilter) {
341341
/**
342342
* Set a custom service insertion calculator factory
343343
*/
344-
public Builder setServiceInsertionCalculatorFactory(ServiceInsertionCalculatorFactory factory) {
344+
public Builder setServiceInsertionCalculatorFactory(JobInsertionCostsCalculatorFactory factory) {
345345
this.serviceCalculatorFactory = factory;
346346
return this;
347347
}
348348

349349
/**
350350
* Set a custom shipment insertion calculator factory
351351
*/
352-
public Builder setShipmentInsertionCalculatorFactory(ShipmentInsertionCalculatorFactory factory) {
352+
public Builder setShipmentInsertionCalculatorFactory(JobInsertionCostsCalculatorFactory factory) {
353353
this.shipmentCalculatorFactory = factory;
354354
return this;
355355
}

0 commit comments

Comments
 (0)