Package org.opt4j.satdecoding.sat4j
Class VariableOrder
java.lang.Object
org.sat4j.minisat.orders.VarOrderHeap
org.opt4j.satdecoding.sat4j.VariableOrder
- All Implemented Interfaces:
Serializable,org.sat4j.minisat.core.IOrder
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()intselect()voidsetLits(org.sat4j.minisat.core.ILits lits) voidsetVarActivity(int var, double value) Sets the activity of a variablevarto the specifiedvalue.voidsetVarInc(double value) Sets the valuevarIncto increase the activity of the variables.voidsetVarPhase(int var, boolean phase) Sets thephaseof a variablevar.voidupdateVar(int p) Methods inherited from class org.sat4j.minisat.orders.VarOrderHeap
assignLiteral, getPhaseSelectionStrategy, getVariableHeuristics, getVocabulary, numberOfInterestingVariables, printStat, setPhaseSelectionStrategy, setVarDecay, toString, undo, updateVarAtDecisionLevel, varActivity, varDecayActivity
-
Constructor Details
-
VariableOrder
public VariableOrder()Constructs aVariableOrder.
-
-
Method Details
-
setLits
- Specified by:
setLitsin interfaceorg.sat4j.minisat.core.IOrder- Overrides:
setLitsin classorg.sat4j.minisat.orders.VarOrderHeap
-
init
- Specified by:
initin interfaceorg.sat4j.minisat.core.IOrder- Overrides:
initin classorg.sat4j.minisat.orders.VarOrderHeap
-
updateVar
- Specified by:
updateVarin interfaceorg.sat4j.minisat.core.IOrder- Overrides:
updateVarin classorg.sat4j.minisat.orders.VarOrderHeap
-
setVarInc
Sets the valuevarIncto increase the activity of the variables.- Parameters:
value- the value to increase the activity of the variables
-
setVarActivity
Sets the activity of a variablevarto the specifiedvalue.- Parameters:
var- the variablevalue- the activity to set
-
setVarPhase
Sets thephaseof a variablevar.- Parameters:
var- the variablephase- the phase
-
select
- Specified by:
selectin interfaceorg.sat4j.minisat.core.IOrder- Overrides:
selectin classorg.sat4j.minisat.orders.VarOrderHeap
-