Generated on Fri Aug 31 2012 16:22:39 for Gecode by doxygen 1.8.1.2
Gecode::SetExpr::Node Class Reference

Node for set expression More...

#include <minimodel.hh>

Public Member Functions

 Node (void)
 Default constructor.
bool decrement (void)
 Decrement reference count and possibly free memory.

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 same
 Number of variables in subtree with same type (for INTER and UNION)
NodeType t
 Type of expression.
Nodel
 Subexpressions.
Noder
SetVar x
 Possibly a variable.
IntSet s
 Possibly a constant.
LinExpr e
 Possibly a linear expression.

Detailed Description

Node for set expression

Definition at line 729 of file minimodel.hh.

Constructor & Destructor Documentation

Gecode::SetExpr::Node::Node ( void  )
inline

Default constructor.

Definition at line 47 of file set-expr.hpp.

Member Function Documentation

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

Decrement reference count and possibly free memory.

Definition at line 51 of file set-expr.cpp.

void * Gecode::SetExpr::Node::operator new ( size_t  size)
inlinestatic

Memory management.

Definition at line 50 of file set-expr.hpp.

void Gecode::SetExpr::Node::operator delete ( void *  p,
size_t  size 
)
inlinestatic

Memory management.

Definition at line 54 of file set-expr.hpp.

Member Data Documentation

unsigned int Gecode::SetExpr::Node::use

Nodes are reference counted.

Definition at line 732 of file minimodel.hh.

int Gecode::SetExpr::Node::same

Number of variables in subtree with same type (for INTER and UNION)

Definition at line 734 of file minimodel.hh.

NodeType Gecode::SetExpr::Node::t

Type of expression.

Definition at line 736 of file minimodel.hh.

Node* Gecode::SetExpr::Node::l

Subexpressions.

Definition at line 738 of file minimodel.hh.

Node * Gecode::SetExpr::Node::r

Definition at line 738 of file minimodel.hh.

SetVar Gecode::SetExpr::Node::x

Possibly a variable.

Definition at line 740 of file minimodel.hh.

IntSet Gecode::SetExpr::Node::s

Possibly a constant.

Definition at line 742 of file minimodel.hh.

LinExpr Gecode::SetExpr::Node::e

Possibly a linear expression.

Definition at line 744 of file minimodel.hh.


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