|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PalmIntDomain
Created by IntelliJ IDEA. User: grochart Date: 7 janv. 2004 Time: 13:50:57 To change this template use Options | File Templates.
Field Summary | |
---|---|
static int |
DOM
|
static int |
INF
|
static int |
SUP
|
static int |
VAL
|
Method Summary | |
---|---|
Constraint |
getDecisionConstraint(int val)
Returns the decision constraint assigning the domain to the specified value. |
Constraint |
getNegDecisionConstraint(int val)
Returns the negated decision constraint. |
boolean |
removeVal(int value,
int idx,
Explanation e)
Removes a value and posts the event. |
void |
resetExplanationOnInf()
When a lower bound is restored, it deletes the explanation associated to the value removal. |
void |
resetExplanationOnSup()
When an upper bound is restored, it deletes the explanation associated to the value removal. |
void |
resetExplanationOnVal(int val)
When a value is restored, it deletes the explanation associated to the value removal. |
void |
restoreInf(int newValue)
Restores a lower bound and posts the event. |
void |
restoreSup(int newValue)
Restores an upper bound and posts the event. |
void |
restoreVal(int val)
Restores a value and posts the event. |
void |
self_explain(int select,
Explanation expl)
Allows to get an explanation for the domain or a bound of the variable. |
void |
self_explain(int select,
int x,
Explanation expl)
Allows to get an explanation for a value removal from the variable. |
boolean |
updateInf(int x,
int idx,
Explanation e)
Updates the lower bound and posts the event. |
boolean |
updateSup(int x,
int idx,
Explanation e)
Updates the upper bound and posts the event. |
Methods inherited from interface choco.palm.integer.ExplainedIntDomain |
---|
getAllValues |
Methods inherited from interface choco.palm.ExplainedDomain |
---|
getOriginalInf, getOriginalSup |
Methods inherited from interface choco.integer.var.IntDomain |
---|
clearDeltaDomain, contains, freezeDeltaDomain, getDeltaIterator, getInf, getIterator, getNextValue, getPrevValue, getRandomValue, getReleasedDeltaDomain, getSize, getSup, hasNextValue, hasPrevValue, isEnumerated, releaseDeltaDomain, remove, restrict, updateInf, updateSup |
Methods inherited from interface choco.Entity |
---|
getProblem, pretty |
Field Detail |
---|
static final int DOM
static final int INF
static final int SUP
static final int VAL
Method Detail |
---|
void resetExplanationOnVal(int val)
void resetExplanationOnInf()
void resetExplanationOnSup()
void self_explain(int select, Explanation expl)
self_explain
in interface ExplainedDomain
select
- Should be PalmIntDomain.INF
, PalmIntDomain.SUP
, or PalmIntDomain.DOM
void self_explain(int select, int x, Explanation expl)
self_explain
in interface ExplainedIntDomain
select
- Should be PalmIntDomain.VAL
boolean updateSup(int x, int idx, Explanation e) throws ContradictionException
updateSup
in interface ExplainedIntDomain
ContradictionException
boolean updateInf(int x, int idx, Explanation e) throws ContradictionException
updateInf
in interface ExplainedIntDomain
ContradictionException
boolean removeVal(int value, int idx, Explanation e) throws ContradictionException
removeVal
in interface ExplainedIntDomain
ContradictionException
void restoreInf(int newValue)
void restoreSup(int newValue)
void restoreVal(int val)
Constraint getDecisionConstraint(int val)
Constraint getNegDecisionConstraint(int val)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |