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