|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchoco.real.RealModeler
choco.palm.real.PalmRealModeler
public class PalmRealModeler
J-CHOCO Copyright (C) F. Laburthe, 1999-2003
An open-source Constraint Programming Kernel for Research and Education Created by: Guillaume on 24 juin 2004
Field Summary |
---|
Fields inherited from class choco.real.RealModeler |
---|
problem |
Constructor Summary | |
---|---|
PalmRealModeler(Problem pb)
|
Method Summary | |
---|---|
RealExp |
cos(RealExp exp)
Cosinus of an expression. |
RealIntervalConstant |
cst(double d)
Makes a constant interval from a double d ([d,d]). |
RealIntervalConstant |
cst(double a,
double b)
Makes a constant interval between two doubles [a,b]. |
Constraint |
makeEquation(RealExp exp,
RealIntervalConstant cst)
Makes an equation from an expression and a constantt interval. |
RealExp |
minus(RealExp exp1,
RealExp exp2)
Substraction of two expressions. |
RealExp |
mult(RealExp exp1,
RealExp exp2)
Multiplication of two expressions. |
RealExp |
plus(RealExp exp1,
RealExp exp2)
Addition of two expressions. |
RealExp |
power(RealExp exp,
int power)
Power of an expression. |
RealExp |
sin(RealExp exp)
Sinus of an expression. |
Methods inherited from class choco.real.RealModeler |
---|
around, eq, eq, eq, geq, geq, geq, leq, leq, leq, makeRealVar, makeRealVar, makeRealVar |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PalmRealModeler(Problem pb)
Method Detail |
---|
public Constraint makeEquation(RealExp exp, RealIntervalConstant cst)
makeEquation
in class RealModeler
exp
- The expressioncst
- The interval this expression should be inpublic RealExp plus(RealExp exp1, RealExp exp2)
plus
in class RealModeler
public RealExp minus(RealExp exp1, RealExp exp2)
minus
in class RealModeler
public RealExp mult(RealExp exp1, RealExp exp2)
mult
in class RealModeler
public RealExp power(RealExp exp, int power)
power
in class RealModeler
public RealExp cos(RealExp exp)
cos
in class RealModeler
public RealExp sin(RealExp exp)
sin
in class RealModeler
public RealIntervalConstant cst(double d)
cst
in class RealModeler
public RealIntervalConstant cst(double a, double b)
cst
in class RealModeler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |