mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
outsourced automatic threshold initialization from
algorithm.acceptor.SchrimpfAcceptance to algorithm.acceptor.SchrimpfInitialThresholdGenerator
This commit is contained in:
parent
deda983cc0
commit
057f128697
2 changed files with 70 additions and 3 deletions
|
|
@ -23,6 +23,7 @@ public class SchrimpfAcceptanceTest {
|
|||
return when(mock(VehicleRoutingProblemSolution.class).getCost()).thenReturn(cost).getMock();
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@Before
|
||||
public void setup() {
|
||||
schrimpfAcceptance = new SchrimpfAcceptance(1, 0.3, 100);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue