Generated on Sat Feb 7 2015 02:01:50 for Gecode by doxygen 1.8.9.1
Gecode::MiniModel::SetNonLinIntExpr Class Reference

Integer valued set expressions. More...

Public Types

enum  SetNonLinIntExprType { SNLE_CARD, SNLE_MIN, SNLE_MAX }
 The expression type. More...
 

Public Member Functions

 SetNonLinIntExpr (const SetExpr &e0, SetNonLinIntExprType t0)
 Constructor. More...
 
virtual IntVar post (Home home, IntVar *ret, IntConLevel) const
 Post expression. More...
 
virtual void post (Home home, IntRelType irt, int c, IntConLevel icl) const
 Post expression to be in relation irt with c. More...
 
virtual void post (Home home, IntRelType irt, int c, BoolVar b, IntConLevel icl) const
 Post reified expression to be in relation irt with c. More...
 
- Public Member Functions inherited from Gecode::NonLinIntExpr
virtual ~NonLinIntExpr (void)
 Destructor. More...
 
void * operator new (size_t size)
 Memory management. More...
 
void operator delete (void *p, size_t)
 Memory management. More...
 

Public Attributes

enum Gecode::MiniModel::SetNonLinIntExpr::SetNonLinIntExprType t
 
SetExpr e
 The expression. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Gecode::NonLinIntExpr
static IntVar result (Home home, IntVar *x)
 Return fresh variable if x is NULL, x otherwise. More...
 
static IntVar result (Home home, IntVar *x, IntVar y)
 Constrain x to be equal to y if x is not NULL. More...
 

Detailed Description

Integer valued set expressions.

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

Member Enumeration Documentation

The expression type.

Enumerator
SNLE_CARD 

Cardinality expression.

SNLE_MIN 

Minimum element expression.

SNLE_MAX 

Maximum element expression.

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

Constructor & Destructor Documentation

Gecode::MiniModel::SetNonLinIntExpr::SetNonLinIntExpr ( const SetExpr e0,
SetNonLinIntExprType  t0 
)
inline

Constructor.

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

Member Function Documentation

virtual IntVar Gecode::MiniModel::SetNonLinIntExpr::post ( Home  home,
IntVar ret,
IntConLevel   
) const
inlinevirtual

Post expression.

Implements Gecode::NonLinIntExpr.

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

virtual void Gecode::MiniModel::SetNonLinIntExpr::post ( Home  home,
IntRelType  irt,
int  c,
IntConLevel  icl 
) const
inlinevirtual

Post expression to be in relation irt with c.

Implements Gecode::NonLinIntExpr.

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

virtual void Gecode::MiniModel::SetNonLinIntExpr::post ( Home  home,
IntRelType  irt,
int  c,
BoolVar  b,
IntConLevel  icl 
) const
inlinevirtual

Post reified expression to be in relation irt with c.

Implements Gecode::NonLinIntExpr.

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

Member Data Documentation

enum Gecode::MiniModel::SetNonLinIntExpr::SetNonLinIntExprType Gecode::MiniModel::SetNonLinIntExpr::t
SetExpr Gecode::MiniModel::SetNonLinIntExpr::e

The expression.

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


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