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. | |
Node * | l |
Subexpressions. | |
Node * | r |
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 | ) | [inline, static] |
Memory management.
Definition at line 50 of file set-expr.hpp.
void Gecode::SetExpr::Node::operator delete | ( | void * | p, | |
size_t | size | |||
) | [inline, static] |
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.
Number of variables in subtree with same type (for INTER and UNION).
Definition at line 734 of file minimodel.hh.
Type of expression.
Definition at line 736 of file minimodel.hh.
Subexpressions.
Definition at line 738 of file minimodel.hh.
Definition at line 738 of file minimodel.hh.
Possibly a variable.
Definition at line 740 of file minimodel.hh.
Possibly a constant.
Definition at line 742 of file minimodel.hh.
Possibly a linear expression.
Definition at line 744 of file minimodel.hh.
The documentation for this class was generated from the following files:
- gecode/minimodel.hh (Revision: 12537)
- gecode/minimodel/set-expr.cpp (Revision: 11553)
- gecode/minimodel/set-expr.hpp (Revision: 11553)