mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
bugfix #128
This commit is contained in:
parent
55ffe3970f
commit
725e95414f
3 changed files with 18 additions and 85 deletions
|
|
@ -1,20 +1,18 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2014 Stefan Schroeder.
|
||||
*
|
||||
* Copyright (C) 2014 Stefan Schroeder
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Contributors:
|
||||
* Stefan Schroeder - initial API and implementation
|
||||
******************************************************************************/
|
||||
package jsprit.core.algorithm.acceptor;
|
||||
|
||||
|
|
@ -44,7 +42,7 @@ public class SchrimpfAcceptanceTest {
|
|||
@SuppressWarnings("deprecation")
|
||||
@Before
|
||||
public void setup() {
|
||||
schrimpfAcceptance = new SchrimpfAcceptance(1, 0.3, 100);
|
||||
schrimpfAcceptance = new SchrimpfAcceptance(1, 0.3);
|
||||
// we skip the warmup, but still want to test that the initialThreshold is set
|
||||
schrimpfAcceptance.setInitialThreshold(0.0);
|
||||
// create empty memory with an initial capacity of 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue