Generated on Fri Oct 19 11:25:53 2018 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 43 of file float-expr.cpp.


Constructor & Destructor Documentation

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

Default constructor.

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

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

Destructor.

Definition at line 92 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 344 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 143 of file float-expr.cpp.

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

Decrement reference count and possibly free memory.

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

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

Memory management.

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

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

Memory management.

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


Member Data Documentation

Nodes are reference counted.

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

Float variables in tree.

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

Type of expression.

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

Subexpressions.

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

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

Integer views and coefficients.

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

Non-linear expression.

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

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

Coefficient and offset.

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

Float variable (potentially).

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


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