Baseclass for reified integer Boolean sum. More...
#include <linear.hh>
Public Member Functions | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function (defined as high unary) | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. | |
Protected Member Functions | |
void | normalize (void) |
Normalize by removing unused views. | |
ReLinBoolInt (Space &home, bool share, ReLinBoolInt &p) | |
Constructor for cloning p. | |
ReLinBoolInt (Home home, ViewArray< VX > &x, int c, VB b) | |
Constructor for creation. | |
Protected Attributes | |
Council< Advisor > | co |
Council for single advisor. | |
ViewArray< VX > | x |
Views. | |
int | n_s |
Number of subscriptions. | |
int | c |
Righthandside. | |
VB | b |
Control variable. |
Baseclass for reified integer Boolean sum.
Gecode::Int::Linear::ReLinBoolInt::ReLinBoolInt | ( | Space & | home, |
bool | share, | ||
ReLinBoolInt & | p | ||
) | [protected] |
Constructor for cloning p.
Gecode::Int::Linear::ReLinBoolInt::ReLinBoolInt | ( | Home | home, |
ViewArray< VX > & | x, | ||
int | c, | ||
VB | b | ||
) | [inline, protected] |
Constructor for creation.
Definition at line 477 of file bool-int.hpp.
void Gecode::Int::Linear::ReLinBoolInt::normalize | ( | void | ) | [inline, protected] |
Normalize by removing unused views.
Definition at line 486 of file bool-int.hpp.
PropCost Gecode::Int::Linear::ReLinBoolInt::cost | ( | const Space & | home, |
const ModEventDelta & | med | ||
) | const [virtual] |
Cost function (defined as high unary)
Implements Gecode::Propagator.
Definition at line 521 of file bool-int.hpp.
size_t Gecode::Int::Linear::ReLinBoolInt::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Definition at line 510 of file bool-int.hpp.
Council<Advisor> Gecode::Int::Linear::ReLinBoolInt::co [protected] |
ViewArray<VX> Gecode::Int::Linear::ReLinBoolInt::x [protected] |
int Gecode::Int::Linear::ReLinBoolInt::n_s [protected] |
int Gecode::Int::Linear::ReLinBoolInt::c [protected] |
VB Gecode::Int::Linear::ReLinBoolInt::b [protected] |