exprMax Class Reference

class for maxima More...

#include <exprMax.hpp>

Inheritance diagram for exprMax:

Inheritance graph
[legend]
Collaboration diagram for exprMax:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 exprMax (expression **al, int n)
 Constructor.
 exprMax (expression *el0, expression *el1)
 Constructor with only two arguments.
exprMaxclone (Domain *d=NULL) const
 cloning method
std::string printOp () const
 print operator
enum pos printPos () const
 print position
CouNumber operator() ()
 function for the evaluation of the expression
expressiondifferentiate (int)
 differentiation
expressionsimplify ()
 simplification
virtual int Linearity ()
 get a measure of "how linear" the expression is (see CouenneTypes.h)
void getBounds (expression *&, expression *&)
 Get lower and upper bound of an expression (if any).
virtual exprAuxstandardize (CouenneProblem *, bool addAux=true)
 reduce expression in standard form, creating additional aux variables (and constraints)
void generateCuts (expression *w, OsiCuts &cs, const CouenneCutGenerator *cg, t_chg_bounds *=NULL, int=-1, CouNumber=-COUENNE_INFINITY, CouNumber=COUENNE_INFINITY)
 generate equality between *this and *w
virtual enum expr_type code ()
 code for comparisons

Detailed Description

class for maxima

Definition at line 21 of file exprMax.hpp.


Constructor & Destructor Documentation

exprMax::exprMax ( expression **  al,
int  n 
) [inline]

Constructor.

Definition at line 26 of file exprMax.hpp.

Referenced by clone().

exprMax::exprMax ( expression el0,
expression el1 
) [inline]

Constructor with only two arguments.

Definition at line 30 of file exprMax.hpp.

References exprOp::arglist_.


Member Function Documentation

exprMax* exprMax::clone ( Domain d = NULL  )  const [inline, virtual]

cloning method

Reimplemented from expression.

Definition at line 37 of file exprMax.hpp.

References exprOp::clonearglist(), exprMax(), and exprOp::nargs_.

std::string exprMax::printOp (  )  const [inline, virtual]

print operator

Reimplemented from exprOp.

Definition at line 41 of file exprMax.hpp.

enum pos exprMax::printPos (  )  const [inline, virtual]

print position

Reimplemented from exprOp.

Definition at line 45 of file exprMax.hpp.

References PRE.

CouNumber exprMax::operator() (  )  [inline, virtual]

function for the evaluation of the expression

Implements expression.

Definition at line 86 of file exprMax.hpp.

References exprOp::arglist_, and exprOp::nargs_.

expression* exprMax::differentiate ( int   )  [inline, virtual]

differentiation

Reimplemented from expression.

Definition at line 52 of file exprMax.hpp.

expression* exprMax::simplify (  )  [inline, virtual]

simplification

Reimplemented from exprOp.

Definition at line 56 of file exprMax.hpp.

virtual int exprMax::Linearity (  )  [inline, virtual]

get a measure of "how linear" the expression is (see CouenneTypes.h)

Reimplemented from exprOp.

Definition at line 60 of file exprMax.hpp.

References NONLINEAR.

void exprMax::getBounds ( expression *&  ,
expression *&   
) [virtual]

Get lower and upper bound of an expression (if any).

Reimplemented from expression.

Definition at line 28 of file exprMinMax.cpp.

virtual exprAux* exprMax::standardize ( CouenneProblem ,
bool  addAux = true 
) [inline, virtual]

reduce expression in standard form, creating additional aux variables (and constraints)

Reimplemented from exprOp.

Definition at line 68 of file exprMax.hpp.

void exprMax::generateCuts ( expression w,
OsiCuts &  cs,
const CouenneCutGenerator cg,
t_chg_bounds = NULL,
int  = -1,
CouNumber  = -COUENNE_INFINITY,
CouNumber  = COUENNE_INFINITY 
) [virtual]

generate equality between *this and *w

Reimplemented from expression.

Definition at line 41 of file exprMinMax.cpp.

virtual enum expr_type exprMax::code (  )  [inline, virtual]

code for comparisons

Reimplemented from exprOp.

Definition at line 79 of file exprMax.hpp.

References COU_EXPRMAX.


The documentation for this class was generated from the following files:
Generated on Mon May 3 03:12:07 2010 by  doxygen 1.4.7