Generated on Wed Jan 24 2018 21:22:26 for Gecode by doxygen 1.8.13

Enumerations

enum  Gecode::Iter::Ranges::CompareStatus { Gecode::Iter::Ranges::CS_SUBSET, Gecode::Iter::Ranges::CS_DISJOINT, Gecode::Iter::Ranges::CS_NONE }
 Comapre two iterators with each other. More...
 

Functions

template<class I >
unsigned int Gecode::Iter::Ranges::size (I &i)
 Size of all ranges of range iterator i. More...
 
template<class I , class J >
bool Gecode::Iter::Ranges::equal (I &i, J &j)
 Check whether range iterators i and j are equal. More...
 
template<class I , class J >
bool Gecode::Iter::Ranges::subset (I &i, J &j)
 Check whether range iterator i is subset of range iterator j. More...
 
template<class I , class J >
bool Gecode::Iter::Ranges::disjoint (I &i, J &j)
 Check whether range iterators i and j are disjoint. More...
 
template<class I , class J >
CompareStatus Gecode::Iter::Ranges::compare (I &i, J &j)
 Check whether range iterator i is a subset of j, or whether they are disjoint. More...
 

Detailed Description

Enumeration Type Documentation

◆ CompareStatus

Comapre two iterators with each other.

Enumerator
CS_SUBSET 

First is subset of second iterator.

CS_DISJOINT 

Intersection is empty.

CS_NONE 

Neither of the above.

Definition at line 64 of file ranges-operations.hpp.

Function Documentation

◆ size()

template<class I >
unsigned int Gecode::Iter::Ranges::size ( I &  i)
inline

Size of all ranges of range iterator i.

Definition at line 78 of file ranges-operations.hpp.

◆ equal()

template<class I , class J >
bool Gecode::Iter::Ranges::equal ( I &  i,
J &  j 
)
inline

Check whether range iterators i and j are equal.

Definition at line 88 of file ranges-operations.hpp.

◆ subset()

template<class I , class J >
bool Gecode::Iter::Ranges::subset ( I &  i,
J &  j 
)
inline

Check whether range iterator i is subset of range iterator j.

Definition at line 101 of file ranges-operations.hpp.

◆ disjoint()

template<class I , class J >
bool Gecode::Iter::Ranges::disjoint ( I &  i,
J &  j 
)
inline

Check whether range iterators i and j are disjoint.

Definition at line 116 of file ranges-operations.hpp.

◆ compare()

template<class I , class J >
CompareStatus Gecode::Iter::Ranges::compare ( I &  i,
J &  j 
)
inline

Check whether range iterator i is a subset of j, or whether they are disjoint.

Definition at line 131 of file ranges-operations.hpp.