Generated on for Gecode by doxygen 1.17.0

Classes

class  Gecode::Int::IntView
 Integer view for integer variables. More...
class  Gecode::Int::MinusView
 Minus integer view. More...
class  Gecode::Int::OffsetView
 Offset integer view. More...
class  Gecode::Int::ScaleView< Val, UnsVal >
 Scale integer view (template). More...
class  Gecode::Int::ConstIntView
 Constant integer view. More...
class  Gecode::Int::ZeroIntView
 Zero integer view. More...
class  Gecode::Int::CachedView< View >
 Cached integer view. More...
class  Gecode::Int::BoolView
 Boolean view for Boolean variables. More...
class  Gecode::Int::NegBoolView
 Negated Boolean view. More...
class  Gecode::Int::ViewRanges< BoolView >
 Range iterator for Boolean variable views More...
class  Gecode::Int::ViewRanges< CachedView< View > >
 Range iterator for offset integer views More...
class  Gecode::Int::ViewRanges< ConstIntView >
 Range iterator for constant integer views More...
class  Gecode::Int::ViewRanges< IntView >
 Range iterator for integer variable views More...
class  Gecode::Int::ViewRanges< MinusView >
 Range iterator for minus integer views More...
class  Gecode::Int::ViewRanges< NegBoolView >
 Range iterator for negated Boolean variable views More...
class  Gecode::Int::ViewRanges< OffsetView >
 Range iterator for offset integer views More...
class  Gecode::Int::ViewRanges< IntScaleView >
 Range iterator for integer-precision scale integer views More...
class  Gecode::Int::ViewRanges< LLongScaleView >
 Range iterator for long long int-precision scale integer views More...
class  Gecode::Int::ViewRanges< ZeroIntView >
 Range iterator for constant integer views More...

View comparison

typedef ScaleView< int, unsigned int > Gecode::Int::IntScaleView
 Integer-precision integer scale view.
typedef ScaleView< long long int, unsigned long long int > Gecode::Int::LLongScaleView
 Long long-precision integer scale view.
bool operator== (const MinusView &x, const MinusView &y)
 Test whether views x and y are the same.
bool operator!= (const MinusView &x, const MinusView &y)
 Test whether views x and y are not the same.
template<class Char, class Traits>
std::basic_ostream< Char, Traits > & operator<< (std::basic_ostream< Char, Traits > &os, const OffsetView &x)
 Print integer offset view.
bool operator== (const OffsetView &x, const OffsetView &y)
 Test whether views x and y are the same.
bool operator!= (const OffsetView &x, const OffsetView &y)
 Test whether views x and y are not the same.
template<class Char, class Traits>
std::basic_ostream< Char, Traits > & operator<< (std::basic_ostream< Char, Traits > &os, const IntScaleView &x)
 Print integer-precision integer scale view.
template<class Char, class Traits>
std::basic_ostream< Char, Traits > & operator<< (std::basic_ostream< Char, Traits > &os, const LLongScaleView &x)
 Print long long-precision integer scale view.
template<class Val, class UnsVal>
bool operator== (const ScaleView< Val, UnsVal > &x, const ScaleView< Val, UnsVal > &y)
 Test whether views x and y are the same.
template<class Val, class UnsVal>
bool operator!= (const ScaleView< Val, UnsVal > &x, const ScaleView< Val, UnsVal > &y)
 Test whether views x and y are not the same.
template<class Char, class Traits>
std::basic_ostream< Char, Traits > & operator<< (std::basic_ostream< Char, Traits > &os, const ConstIntView &x)
 Print integer constant integer view.
bool operator== (const ConstIntView &x, const ConstIntView &y)
 Test whether views x and y are the same.
bool operator!= (const ConstIntView &x, const ConstIntView &y)
 Test whether views x and y are not the same.
bool operator== (const ZeroIntView &x, const ZeroIntView &y)
 Test whether views x and y are the same.
bool operator!= (const ZeroIntView &x, const ZeroIntView &y)
 Test whether views x and y are the same.
template<class Char, class Traits, class View>
std::basic_ostream< Char, Traits > & operator<< (std::basic_ostream< Char, Traits > &os, const CachedView< View > &x)
 Print integer cached view.
template<class View>
bool operator== (const CachedView< View > &x, const CachedView< View > &y)
 Test whether views x and y are the same.
template<class View>
bool operator!= (const CachedView< View > &x, const CachedView< View > &y)
 Test whether views x and y are not the same.
template<class Char, class Traits>
std::basic_ostream< Char, Traits > & operator<< (std::basic_ostream< Char, Traits > &os, const BoolView &x)
 Print Boolean view.
bool operator== (const NegBoolView &x, const NegBoolView &y)
 Test whether views x and y are the same.
bool operator!= (const NegBoolView &x, const NegBoolView &y)
 Test whether views x and y are not the same.
template<class Char, class Traits>
std::basic_ostream< Char, Traits > & operator<< (std::basic_ostream< Char, Traits > &os, const NegBoolView &x)
 Print negated Boolean view.

Detailed Description

Integer propagators and branchers compute with integer views. Integer views provide views on integer variable implementations, integer constants, and also allow to scale, translate, and negate variables. Additionally, a special Boolean view is provided that offers convenient and efficient operations for Boolean (0/1) views.

Typedef Documentation

◆ IntScaleView

typedef ScaleView<int,unsigned int> Gecode::Int::IntScaleView

Integer-precision integer scale view.

Definition at line 804 of file view.hpp.

◆ LLongScaleView

typedef ScaleView<long long int,unsigned long long int> Gecode::Int::LLongScaleView

Long long-precision integer scale view.

Definition at line 810 of file view.hpp.

Function Documentation

◆ operator==() [1/7]

bool operator== ( const MinusView & x,
const MinusView & y )
related

Test whether views x and y are the same.

Definition at line 317 of file minus.hpp.

◆ operator!=() [1/7]

bool operator!= ( const MinusView & x,
const MinusView & y )
related

Test whether views x and y are not the same.

Definition at line 321 of file minus.hpp.

◆ operator<<() [1/7]

template<class Char, class Traits>
std::basic_ostream< Char, Traits > & operator<< ( std::basic_ostream< Char, Traits > & os,
const OffsetView & x )
related

Print integer offset view.

Definition at line 67 of file print.hpp.

◆ operator==() [2/7]

bool operator== ( const OffsetView & x,
const OffsetView & y )
related

Test whether views x and y are the same.

Definition at line 318 of file offset.hpp.

◆ operator!=() [2/7]

bool operator!= ( const OffsetView & x,
const OffsetView & y )
related

Test whether views x and y are not the same.

Definition at line 322 of file offset.hpp.

◆ operator<<() [2/7]

template<class Char, class Traits>
std::basic_ostream< Char, Traits > & operator<< ( std::basic_ostream< Char, Traits > & os,
const IntScaleView< Val, UnsVal > & x )
related

Print integer-precision integer scale view.

Definition at line 67 of file print.hpp.

◆ operator<<() [3/7]

template<class Char, class Traits>
std::basic_ostream< Char, Traits > & operator<< ( std::basic_ostream< Char, Traits > & os,
const LLongScaleView< Val, UnsVal > & x )
related

Print long long-precision integer scale view.

Definition at line 67 of file print.hpp.

◆ operator==() [3/7]

template<class Val, class UnsVal>
bool operator== ( const ScaleView< Val, UnsVal > & x,
const ScaleView< Val, UnsVal > & y )
related

Test whether views x and y are the same.

Definition at line 325 of file scale.hpp.

◆ operator!=() [3/7]

template<class Val, class UnsVal>
bool operator!= ( const ScaleView< Val, UnsVal > & x,
const ScaleView< Val, UnsVal > & y )
related

Test whether views x and y are not the same.

Definition at line 330 of file scale.hpp.

◆ operator<<() [4/7]

template<class Char, class Traits>
std::basic_ostream< Char, Traits > & operator<< ( std::basic_ostream< Char, Traits > & os,
const ConstIntView & x )
related

Print integer constant integer view.

Definition at line 67 of file print.hpp.

◆ operator==() [4/7]

bool operator== ( const ConstIntView & x,
const ConstIntView & y )
related

Test whether views x and y are the same.

Definition at line 323 of file constint.hpp.

◆ operator!=() [4/7]

bool operator!= ( const ConstIntView & x,
const ConstIntView & y )
related

Test whether views x and y are not the same.

Definition at line 327 of file constint.hpp.

◆ operator==() [5/7]

bool operator== ( const ZeroIntView & x,
const ZeroIntView & y )
related

Test whether views x and y are the same.

Definition at line 298 of file zero.hpp.

◆ operator!=() [5/7]

bool operator!= ( const ZeroIntView & x,
const ZeroIntView & y )
related

Test whether views x and y are the same.

Definition at line 302 of file zero.hpp.

◆ operator<<() [5/7]

template<class Char, class Traits, class View>
std::basic_ostream< Char, Traits > & operator<< ( std::basic_ostream< Char, Traits > & os,
const CachedView< View > & x )
related

Print integer cached view.

Definition at line 67 of file print.hpp.

◆ operator==() [6/7]

template<class View>
bool operator== ( const CachedView< View > & x,
const CachedView< View > & y )
related

Test whether views x and y are the same.

Definition at line 401 of file cached.hpp.

◆ operator!=() [6/7]

template<class View>
bool operator!= ( const CachedView< View > & x,
const CachedView< View > & y )
related

Test whether views x and y are not the same.

Definition at line 406 of file cached.hpp.

◆ operator<<() [6/7]

template<class Char, class Traits>
std::basic_ostream< Char, Traits > & operator<< ( std::basic_ostream< Char, Traits > & os,
const BoolView & x )
related

Print Boolean view.

Definition at line 67 of file print.hpp.

◆ operator==() [7/7]

bool operator== ( const NegBoolView & x,
const NegBoolView & y )
related

Test whether views x and y are the same.

Definition at line 211 of file neg-bool.hpp.

◆ operator!=() [7/7]

bool operator!= ( const NegBoolView & x,
const NegBoolView & y )
related

Test whether views x and y are not the same.

Definition at line 215 of file neg-bool.hpp.

◆ operator<<() [7/7]

template<class Char, class Traits>
std::basic_ostream< Char, Traits > & operator<< ( std::basic_ostream< Char, Traits > & os,
const NegBoolView & x )
related

Print negated Boolean view.

Definition at line 67 of file print.hpp.