Couenne::exprUBDiv Class Reference

class to compute upper bound of a fraction based on the bounds of both numerator and denominator More...

#include <CouenneExprBDiv.hpp>

Inheritance diagram for Couenne::exprUBDiv:

Inheritance graph
[legend]
Collaboration diagram for Couenne::exprUBDiv:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 exprUBDiv (expression **al, int n)
 Constructors, destructor.
expressionclone (Domain *d=NULL) const
 cloning method
CouNumber operator() ()
 compute sum
enum pos printPos () const
 print position (PRE, INSIDE, POST)
std::string printOp () const
 print operator

Detailed Description

class to compute upper bound of a fraction based on the bounds of both numerator and denominator

Definition at line 85 of file CouenneExprBDiv.hpp.


Constructor & Destructor Documentation

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

Constructors, destructor.

Definition at line 90 of file CouenneExprBDiv.hpp.

Referenced by clone().


Member Function Documentation

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

cloning method

Reimplemented from Couenne::expression.

Definition at line 94 of file CouenneExprBDiv.hpp.

References Couenne::exprOp::clonearglist(), exprUBDiv(), and Couenne::exprOp::nargs_.

CouNumber Couenne::exprUBDiv::operator() (  )  [inline, virtual]

compute sum

Implements Couenne::expression.

Definition at line 112 of file CouenneExprBDiv.hpp.

References Couenne::exprOp::arglist_, COUENNE_INFINITY, n, and Couenne::safeDiv().

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

print position (PRE, INSIDE, POST)

Reimplemented from Couenne::exprOp.

Definition at line 101 of file CouenneExprBDiv.hpp.

References Couenne::PRE.

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

print operator

Reimplemented from Couenne::exprOp.

Definition at line 105 of file CouenneExprBDiv.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Sep 22 03:14:53 2011 by  doxygen 1.4.7