Increase maxtries to 5000

This commit is contained in:
Matthew Slowe 2020-05-29 11:12:20 +01:00
parent eb7a8d2801
commit 5afcd67470

View File

@ -6,7 +6,7 @@ import java.util.*;
public class GridFactory { public class GridFactory {
static Random rnd = new Random(); static Random rnd = new Random();
static final int MAX_TRIES = 500; static final int MAX_TRIES = 5000;
/* https://www.math.cornell.edu/~mec/2003-2004/cryptography/subs/frequencies.html */ /* https://www.math.cornell.edu/~mec/2003-2004/cryptography/subs/frequencies.html */
static DistributedRandomNumberGenerator drng = new DistributedRandomNumberGenerator(); static DistributedRandomNumberGenerator drng = new DistributedRandomNumberGenerator();