introduce bitloops
This commit is contained in:
@@ -44,12 +44,12 @@ public class Main {
|
||||
@NoArgsConstructor
|
||||
public static class Opts {
|
||||
|
||||
static int SSIZE = 20;
|
||||
static int SSIZE = 25;
|
||||
public int seed = (int) (System.nanoTime() ^ System.currentTimeMillis());
|
||||
public int clueSize = SSIZE;
|
||||
public int pop = SSIZE * 2;
|
||||
public int offspring = SSIZE * 3;
|
||||
public int gens = 600;
|
||||
public int pop = SSIZE*2;
|
||||
public int offspring = SSIZE*3;
|
||||
public int gens =1200;
|
||||
public String wordsPath = "nl_score_hints_v3.csv";
|
||||
public double minSimplicity = 0; // 0 means no limit
|
||||
public int threads = Math.max(1, Runtime.getRuntime().availableProcessors());
|
||||
@@ -368,11 +368,12 @@ public class Main {
|
||||
try {
|
||||
return _attempt(rng, dict, opts);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
System.err.println("Failed to operate" + e.getMessage());
|
||||
return null;
|
||||
}
|
||||
}
|
||||
static Clues generateClues() {
|
||||
static Clued generateClues() {
|
||||
String simple = "000 3000\n" +
|
||||
" 3 \n" +
|
||||
" 31 \n" +
|
||||
|
||||
Reference in New Issue
Block a user