Generated on Fri Mar 20 15:56:49 2015 for Gecode by doxygen 1.6.3

Gecode::LinFloatExpr::Node Class Reference

Nodes for linear expressions. More...

List of all members.

Public Member Functions

 Node (void)
 Default constructor.
void fill (Home home, Float::Linear::Term *&tf, FloatVal m, FloatVal &d) const
 Generate linear terms from expression.
FloatVal fill (Home home, Float::Linear::Term *tf) const
 Generate linear terms for expressions.
bool decrement (void)
 Decrement reference count and possibly free memory.
 ~Node (void)
 Destructor.

Static Public Member Functions

static void * operator new (size_t size)
 Memory management.
static void operator delete (void *p, size_t size)
 Memory management.

Public Attributes

unsigned int use
 Nodes are reference counted.
int n_float
 Float variables in tree.
NodeType t
 Type of expression.
Nodel
 Subexpressions.
Noder
union {
   Float::Linear::Term *   tf
 Integer views and coefficients.
   NonLinFloatExpr *   ne
 Non-linear expression.
sum
 Sum of integer or Boolean variables, or non-linear expression.
FloatVal a
 Coefficient and offset.
FloatVal c
FloatVar x_float
 Float variable (potentially).

Detailed Description

Nodes for linear expressions.

Definition at line 47 of file float-expr.cpp.


Constructor & Destructor Documentation

Gecode::LinFloatExpr::Node::Node ( void   )  [inline]

Default constructor.

Definition at line 92 of file float-expr.cpp.

Gecode::LinFloatExpr::Node::~Node ( void   )  [inline]

Destructor.

Definition at line 96 of file float-expr.cpp.


Member Function Documentation

void Gecode::LinFloatExpr::Node::fill ( Home  home,
Float::Linear::Term *&  tf,
FloatVal  m,
FloatVal d 
) const

Generate linear terms from expression.

Definition at line 346 of file float-expr.cpp.

FloatVal Gecode::LinFloatExpr::Node::fill ( Home  home,
Float::Linear::Term tf 
) const

Generate linear terms for expressions.

Definition at line 147 of file float-expr.cpp.

bool Gecode::LinFloatExpr::Node::decrement ( void   ) 

Decrement reference count and possibly free memory.

Definition at line 120 of file float-expr.cpp.

void * Gecode::LinFloatExpr::Node::operator new ( size_t  size  )  [inline, static]

Memory management.

Definition at line 110 of file float-expr.cpp.

void Gecode::LinFloatExpr::Node::operator delete ( void *  p,
size_t  size 
) [inline, static]

Memory management.

Definition at line 115 of file float-expr.cpp.


Member Data Documentation

Nodes are reference counted.

Definition at line 50 of file float-expr.cpp.

Float variables in tree.

Definition at line 52 of file float-expr.cpp.

Type of expression.

Definition at line 54 of file float-expr.cpp.

Subexpressions.

Definition at line 56 of file float-expr.cpp.

Definition at line 56 of file float-expr.cpp.

Integer views and coefficients.

Definition at line 60 of file float-expr.cpp.

Non-linear expression.

Definition at line 62 of file float-expr.cpp.

Sum of integer or Boolean variables, or non-linear expression.

Coefficient and offset.

Definition at line 65 of file float-expr.cpp.

Float variable (potentially).

Definition at line 67 of file float-expr.cpp.


The documentation for this class was generated from the following file: