Generated on Mon Aug 25 11:35:52 2008 for Gecode by doxygen 1.5.6

Gecode::MiniModel::BoolExpr::Node Class Reference

#include <minimodel.hh>

List of all members.


Detailed Description

Node for Boolean expression.

Definition at line 466 of file minimodel.hh.


Public Member Functions

 Node (void)
 Default constructor.
bool decrement (void)
 Decrement reference count and possibly free memory.
int post (Space *home, NodeType t, BoolVarArgs &b, int i, IntConLevel icl, PropKind pk) const
 Post propagators for nested conjunctive and disjunctive expression.
void post (Space *home, BoolVar b, IntConLevel icl, PropKind pk) const
 Post propagators for expression.
BoolVar post (Space *home, IntConLevel icl, PropKind pk) const
 Post propagators for expression.
void post (Space *home, bool t, IntConLevel icl, PropKind pk) const
 Post propagators for relation.

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.
unsigned int same
 Number of variables in subtree with same type (for AND and OR).
NodeType t
 Type of expression.
Nodel
 Subexpressions.
Noder
BoolVar x
 Possibly a variable.
LinRel< IntVarrl_int
 Possibly a reified linear relation over integer variables.
LinRel< BoolVarrl_bool
 Possibly a reified linear relation over Boolean variables.

Constructor & Destructor Documentation

Gecode::MiniModel::BoolExpr::Node::Node ( void   )  [inline]

Default constructor.

Definition at line 59 of file bool-expr.cc.


Member Function Documentation

bool Gecode::MiniModel::BoolExpr::Node::decrement ( void   ) 

Decrement reference count and possibly free memory.

Definition at line 62 of file bool-expr.cc.

int Gecode::MiniModel::BoolExpr::Node::post ( Space home,
NodeType  t,
BoolVarArgs b,
int  i,
IntConLevel  icl,
PropKind  pk 
) const

Post propagators for nested conjunctive and disjunctive expression.

Definition at line 83 of file bool-expr.cc.

void Gecode::MiniModel::BoolExpr::Node::post ( Space home,
BoolVar  b,
IntConLevel  icl,
PropKind  pk 
) const

Post propagators for expression.

Definition at line 95 of file bool-expr.cc.

BoolVar Gecode::MiniModel::BoolExpr::Node::post ( Space home,
IntConLevel  icl,
PropKind  pk 
) const

Post propagators for expression.

Definition at line 74 of file bool-expr.cc.

void Gecode::MiniModel::BoolExpr::Node::post ( Space home,
bool  t,
IntConLevel  icl,
PropKind  pk 
) const

Post propagators for relation.

Definition at line 150 of file bool-expr.cc.

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

Memory management.

Definition at line 49 of file bool-expr.cc.

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

Memory management.

Definition at line 54 of file bool-expr.cc.


Member Data Documentation

Nodes are reference counted.

Definition at line 469 of file minimodel.hh.

Number of variables in subtree with same type (for AND and OR).

Definition at line 471 of file minimodel.hh.

Type of expression.

Definition at line 473 of file minimodel.hh.

Subexpressions.

Definition at line 475 of file minimodel.hh.

Possibly a variable.

Definition at line 477 of file minimodel.hh.

Possibly a reified linear relation over integer variables.

Definition at line 479 of file minimodel.hh.

Possibly a reified linear relation over Boolean variables.

Definition at line 481 of file minimodel.hh.


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