Package org.opt4j.satdecoding
Class VarOrder
java.lang.Object
org.opt4j.satdecoding.Order
org.opt4j.satdecoding.VarOrder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetActivity(Object variable) Returns the activity of a variable.Returns the entry set of the activities.booleanReturns the prioritized phase of a variable.Returns the entry set of the phases.voidsetActivity(Object variable, double value) Sets the activity of the specified variable.voidSets the prioritized phase of the specified variable.Methods inherited from class org.opt4j.satdecoding.Order
getVarDecay, getVarInc, setVarDecay, setVarInc
-
Constructor Details
-
VarOrder
public VarOrder()
-
-
Method Details
-
setActivity
Sets the activity of the specified variable.- Parameters:
variable- the specific variablevalue- the activity value- See Also:
-
setPhase
Sets the prioritized phase of the specified variable.- Parameters:
variable- the specific variablevalue- the prioritized phase- See Also:
-
getActivity
Returns the activity of a variable.- Parameters:
variable- the variable- Returns:
- the activity
- See Also:
-
getPhase
Returns the prioritized phase of a variable.- Parameters:
variable- the variable- Returns:
- the prioritized phase
- See Also:
-
getActivityEntrySet
Returns the entry set of the activities.- Returns:
- the entry set of the activities
-
getPhaseEntrySet
Returns the entry set of the phases.- Returns:
- the entry set of the phases
-