public class Config extends Properties
Modifier and Type | Field and Description |
---|---|
int |
bump_rate
the default bump rate.
|
List<AbstractClausesDatabase> |
clausesDatabases
the list of databases the solver must add
|
boolean |
debug
switch for debug mode
|
List<SolverComponent> |
mainComponents
the list of components the solver must add
|
int |
MAX_NUMBER_OF_DATABASES
how many clausesDatabases can we have ? must be a power of 2
|
int |
MEMORY_POOL_MAX_SIZE
the maximum size of int[] to store in the memory pool
|
int |
MEMORY_POOL_STOCK_SIZE
number of int[] of each size in the memory pool
|
int |
rebase_threshold
threshold above which a rebase is performed for activity counters
|
long |
RESTART_CONFLICT_THRESHOLD
initial threshold (number of conflicts needed) for restarts
|
double |
RESTART_THRESHOLD_INCREASE_RATE
factor by which restart threshold is increased
|
long |
seed
random seed, to be changed if we want to redo the same run
|
long |
timeout
the default timeout, in seconds, for searches.
|
int |
trail_size
initial number of variables in the trail
|
int |
verbosity
controls default solver verbosity
|
defaults
Constructor and Description |
---|
Config()
constructor for config, that adds some default components.
|
Modifier and Type | Method and Description |
---|---|
boolean |
check()
check some properties of the config
|
static Config |
defaultConfig()
static access to the default config
|
String |
toString() |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, values
public int MAX_NUMBER_OF_DATABASES
public int MEMORY_POOL_STOCK_SIZE
public int MEMORY_POOL_MAX_SIZE
public int rebase_threshold
public int bump_rate
public int trail_size
public int verbosity
public long timeout
public boolean debug
public long seed
public double RESTART_THRESHOLD_INCREASE_RATE
public long RESTART_CONFLICT_THRESHOLD
public List<SolverComponent> mainComponents
public List<AbstractClausesDatabase> clausesDatabases
public Config()
public boolean check()
public static Config defaultConfig()
Copyright © 2022. All rights reserved.