|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.opt4j.core.start.Opt4JModule
org.opt4j.satdecoding.SATModule
org.opt4j.satdecoding.sat4j.SAT4JModule
public class SAT4JModule
The SAT4JModule enables and configures the SAT4JSolver.
| Field Summary | |
|---|---|
protected int |
instances
|
protected SAT4JSolver.Learning |
learning
|
protected int |
learnSize
|
protected SAT4JSolver.Restarts |
restarts
|
protected int |
timeout
|
| Fields inherited from class org.opt4j.core.start.Opt4JModule |
|---|
SINGLETON |
| Constructor Summary | |
|---|---|
SAT4JModule()
|
|
| Method Summary | |
|---|---|
void |
config()
|
int |
getInstances()
Returns the number of instances. |
SAT4JSolver.Learning |
getLearning()
Returns the learning strategy. |
int |
getLearnSize()
Returns the number of learned clauses that are kept. |
SAT4JSolver.Restarts |
getRestarts()
Returns the restart strategy. |
int |
getTimeout()
Returns the timeout (in seconds) of the SAT4JSolver. |
void |
setInstances(int instances)
Sets the number of instances. |
void |
setLearning(SAT4JSolver.Learning learning)
Sets the learning strategy. |
void |
setLearnSize(int learnSize)
Sets the number of learned clauses that are kept. |
void |
setRestarts(SAT4JSolver.Restarts restarts)
Sets the restart strategy. |
void |
setTimeout(int timeout)
Sets the timeout (in seconds) for the SAT4JSolver. |
| Methods inherited from class org.opt4j.satdecoding.SATModule |
|---|
bindSolver, bindSolver |
| Methods inherited from class org.opt4j.core.start.Opt4JModule |
|---|
addControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, bindConstant, bindConstant, bindConstant, bindConstant, configure, constant, multi |
| Methods inherited from class com.google.inject.AbstractModule |
|---|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int timeout
protected int learnSize
protected SAT4JSolver.Learning learning
protected SAT4JSolver.Restarts restarts
protected int instances
| Constructor Detail |
|---|
public SAT4JModule()
| Method Detail |
|---|
public int getInstances()
setInstances(int)public void setInstances(int instances)
instances - the number of instancesgetInstances()public SAT4JSolver.Learning getLearning()
setLearning(org.opt4j.satdecoding.sat4j.SAT4JSolver.Learning)public void setLearning(SAT4JSolver.Learning learning)
learning - the learning strategy to setgetLearning()public SAT4JSolver.Restarts getRestarts()
setRestarts(org.opt4j.satdecoding.sat4j.SAT4JSolver.Restarts)public void setRestarts(SAT4JSolver.Restarts restarts)
restarts - the restart strategy to setgetRestarts()public int getLearnSize()
setLearnSize(int)public void setLearnSize(int learnSize)
learnSize - the number of learned clausesgetLearnSize()public int getTimeout()
SAT4JSolver.
setTimeout(int)public void setTimeout(int timeout)
SAT4JSolver.
timeout - the timeout for the solvergetTimeout()public void config()
config in class org.opt4j.core.start.Opt4JModule
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||