1
0
Fork 0
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:
oblonski 2014-05-10 16:34:25 +02:00
parent deda983cc0
commit 057f128697
2 changed files with 70 additions and 3 deletions

View file

@ -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);