Generated on Tue Feb 11 2025 17:33:26 for Gecode by doxygen 1.12.0
set-expr.cpp File Reference

Go to the source code of this file.

Classes

class  Gecode::SetExpr::Node
 Node for set expression More...
 
class  Gecode::MiniModel::SetNonLinIntExpr
 Integer valued set expressions. More...
 

Namespaces

namespace  Gecode
 Gecode toplevel namespace
 
namespace  Gecode::MiniModel
 Minimalistic modeling support.
 

Functions

SetExpr Gecode::operator& (const SetExpr &, const SetExpr &)
 Intersection of set expressions.
 
SetExpr Gecode::operator| (const SetExpr &, const SetExpr &)
 Union of set expressions.
 
SetExpr Gecode::operator+ (const SetExpr &, const SetExpr &)
 Disjoint union of set expressions.
 
SetExpr Gecode::operator- (const SetExpr &)
 Complement expression.
 
SetExpr Gecode::operator- (const SetExpr &, const SetExpr &)
 Difference of set expressions.
 
SetExpr Gecode::singleton (const LinIntExpr &)
 Singleton expression.
 
SetExpr Gecode::inter (const SetVarArgs &)
 Intersection of set variables.
 
SetExpr Gecode::setunion (const SetVarArgs &)
 Union of set variables.
 
SetExpr Gecode::setdunion (const SetVarArgs &)
 Disjoint union of set variables.
 
LinIntExpr Gecode::cardinality (const SetExpr &)
 Cardinality of set expression.
 
LinIntExpr Gecode::min (const SetExpr &)
 Minimum element of set expression.
 
LinIntExpr Gecode::max (const SetExpr &)
 Minimum element of set expression.
 
SetVar Gecode::expr (Home home, const SetExpr &e)
 Post set expression and return its value.
 

Variable Documentation

◆ t

NodeType t

Type of node.

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

◆ p

int p

Number of positive literals for node type.

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

◆ n

int n

Number of negative literals for node type.

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

◆ l

NNF* l

Left subtree.

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

◆ r

NNF* r

Right subtree.

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

◆ []

struct { ... } b

For binary nodes (and, or, eqv)

◆ x

Node* x

Pointer to corresponding Boolean expression node.

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

◆ []

struct { ... } a

For atomic nodes.

◆ []

union { ... } u

Union depending on nodetype t.

◆ neg

bool neg

Is formula negative.

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