public class IbexDecision extends Decision<Variable>
branch, max_branching, var
Constructor and Description |
---|
IbexDecision(Model model)
Create an decision based on an
RealVar |
Modifier and Type | Method and Description |
---|---|
void |
apply()
Apply the current decision
|
void |
free()
Free the decision, ie, it can be reused
|
Object |
getDecisionValue()
Return the value object involves in the decision
|
boolean |
inUse() |
String |
toString() |
buildNext, duplicate, getArity, getDecisionVariable, getPosition, hasNext, isEquivalentTo, reverse, rewind, set, setPosition, setRefutable, triesLeft
public Object getDecisionValue()
Decision
getDecisionValue
in class Decision<Variable>
public void apply() throws ContradictionException
Decision
apply
in class Decision<Variable>
ContradictionException
- if the application of this decision failspublic void free()
Decision
public boolean inUse()
Copyright © 2018. All rights reserved.