|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchoco.AbstractEntity
choco.real.exp.AbstractRealCompoundTerm
choco.real.exp.AbstractRealBinTerm
choco.palm.real.exp.AbstractPalmRealBinTerm
choco.palm.real.exp.PalmRealMult
public class PalmRealMult
Implementation of a explained real multiplication expression.
Field Summary |
---|
Fields inherited from class choco.palm.real.exp.AbstractPalmRealBinTerm |
---|
explanationOnInf, explanationOnSup |
Fields inherited from class choco.real.exp.AbstractRealBinTerm |
---|
exp1, exp2 |
Fields inherited from class choco.real.exp.AbstractRealCompoundTerm |
---|
inf, sup |
Fields inherited from class choco.AbstractEntity |
---|
hook, problem |
Fields inherited from interface choco.palm.real.PalmRealInterval |
---|
DOM, INF, SUP |
Constructor Summary | |
---|---|
PalmRealMult(AbstractProblem pb,
RealExp exp1,
RealExp exp2)
Creates the product of two sub expressions. |
Method Summary | |
---|---|
void |
project()
Projects current value on sub-expressions. |
void |
tighten()
Tightens the value of the expressions, that is affects values with respect to the values (and explanations) of sub expressions. |
Methods inherited from class choco.palm.real.exp.AbstractPalmRealBinTerm |
---|
intersect, self_explain |
Methods inherited from class choco.real.exp.AbstractRealBinTerm |
---|
collectVars, isolate, subExps |
Methods inherited from class choco.real.exp.AbstractRealCompoundTerm |
---|
getInf, getSup, intersect, toString |
Methods inherited from class choco.AbstractEntity |
---|
getProblem, pretty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface choco.real.RealInterval |
---|
getInf, getSup, intersect |
Constructor Detail |
---|
public PalmRealMult(AbstractProblem pb, RealExp exp1, RealExp exp2)
pb
- the problem of the constraintexp1
- the first expression operandexp2
- the second expression operandMethod Detail |
---|
public void tighten()
public void project() throws ContradictionException
ContradictionException
- if a domain becomes empty or if a
contradiction is infered
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |