protected final DoubleFunction randomGenerator;
protected final int size;
public TestSolverRandomly(@SuppressWarnings("unused") final int ignored, final Random conf, int s) {
size = s;
randomGenerator = new DoubleFunction() {
private final Random rnd = conf;
public double apply(
@SuppressWarnings("unused") double argument) {
return rnd.nextDouble()*10;