mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
renaming of regret
This commit is contained in:
parent
bce6f1a9f5
commit
8af268b1dc
10 changed files with 447 additions and 474 deletions
|
|
@ -143,7 +143,7 @@ public class BuildAlgorithmFromScratch {
|
|||
//regret insertion
|
||||
InsertionBuilder iBuilder = new InsertionBuilder(vrp, fleetManager, stateManager, constraintManager);
|
||||
iBuilder.setInsertionStrategy(InsertionBuilder.Strategy.REGRET);
|
||||
RegretInsertion regret = (RegretInsertion) iBuilder.build();
|
||||
RegretInsertionFast regret = (RegretInsertionFast) iBuilder.build();
|
||||
DefaultScorer scoringFunction = new DefaultScorer(vrp);
|
||||
scoringFunction.setDepotDistanceParam(0.2);
|
||||
scoringFunction.setTimeWindowParam(-.2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue