exprOpp Class Reference

class opposite More...

#include <exprOpp.hpp>

Inheritance diagram for exprOpp:

Inheritance graph
[legend]
Collaboration diagram for exprOpp:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 exprOpp (expression *al)
 Constructors, destructor.
expressionclone (Domain *d=NULL) const
 cloning method
unary_function F ()
 the operator's function
void print (std::ostream &out, bool descend) const
 Output.
CouNumber gradientNorm (const double *x)
 return l-2 norm of gradient at given point
expressiondifferentiate (int index)
 differentiation
virtual expressionsimplify ()
 simplification
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).
void getBounds (CouNumber &, CouNumber &)
 Get value of lower and upper bound of an expression (if any).
virtual void generateCuts (expression *, OsiCuts &, const CouenneCutGenerator *, t_chg_bounds *=NULL, int=-1, CouNumber=-COUENNE_INFINITY, CouNumber=COUENNE_INFINITY)
 special version for linear constraints
virtual enum expr_type code ()
 code for comparisons
bool isInteger ()
 is this expression integer?
bool impliedBound (int, CouNumber *, CouNumber *, t_chg_bounds *)
 implied bound processing
exprAuxstandardize (CouenneProblem *, bool addAux=true)
 standardization (to deal with complex arguments)

Detailed Description

class opposite

Definition at line 26 of file exprOpp.hpp.


Constructor & Destructor Documentation

exprOpp::exprOpp ( expression al  )  [inline]

Constructors, destructor.

Definition at line 31 of file exprOpp.hpp.

Referenced by clone().


Member Function Documentation

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

cloning method

Reimplemented from expression.

Definition at line 35 of file exprOpp.hpp.

References exprUnary::argument_, and exprOpp().

unary_function exprOpp::F (  )  [inline, virtual]

the operator's function

Reimplemented from exprUnary.

Definition at line 39 of file exprOpp.hpp.

References opp().

void exprOpp::print ( std::ostream &  out,
bool  descend 
) const [virtual]

Output.

Reimplemented from exprUnary.

CouNumber exprOpp::gradientNorm ( const double *  x  )  [inline, virtual]

return l-2 norm of gradient at given point

Reimplemented from expression.

Definition at line 47 of file exprOpp.hpp.

References exprUnary::argument_, and expression::Index().

expression* exprOpp::differentiate ( int  index  )  [virtual]

differentiation

Reimplemented from expression.

virtual expression* exprOpp::simplify (  )  [virtual]

simplification

Reimplemented from exprUnary.

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

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

Reimplemented from exprUnary.

Definition at line 57 of file exprOpp.hpp.

References exprUnary::argument_.

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

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

Reimplemented from expression.

void exprOpp::getBounds ( CouNumber ,
CouNumber  
) [virtual]

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

Reimplemented from expression.

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

special version for linear constraints

Reimplemented from expression.

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

code for comparisons

Reimplemented from exprUnary.

Definition at line 74 of file exprOpp.hpp.

References COU_EXPROPP.

bool exprOpp::isInteger (  )  [inline, virtual]

is this expression integer?

Reimplemented from exprUnary.

Definition at line 78 of file exprOpp.hpp.

References exprUnary::argument_.

bool exprOpp::impliedBound ( int  ,
CouNumber ,
CouNumber ,
t_chg_bounds  
) [virtual]

implied bound processing

Reimplemented from expression.

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

standardization (to deal with complex arguments)

Reimplemented from exprUnary.


The documentation for this class was generated from the following file:
Generated on Wed Jan 20 03:05:49 2010 for Couenne by  doxygen 1.4.7