of site sets.
Inherits mln::internal::site_set_base_< S::site, mln::p_set_of< S > >, and site_set_impl< S >.
|
Public Types |
typedef p_double_piter< self_,
mln_bkd_eiter(set_), typename
S::bkd_piter > | bkd_piter |
| Backward Site_Iterator associated type.
|
typedef S | element |
| Element associated type.
|
typedef p_double_piter< self_,
mln_fwd_eiter(set_), typename
S::fwd_piter > | fwd_piter |
| Forward Site_Iterator associated type.
|
typedef S | i_element |
| Insertion element associated type.
|
typedef fwd_piter | piter |
| Site_Iterator associated type.
|
typedef p_double_psite< self_,
element > | psite |
| Psite associated type.
|
Public Member Functions |
void | clear () |
| Clear this set.
|
bool | has (const psite &p) const |
| Test if p belongs to this point set.
|
void | insert (const S &s) |
| Insert a site set s .
|
bool | is_valid () const |
| Test if this set of runs is valid.
|
std::size_t | memory_size () const |
| Return the size of this site set in memory.
|
unsigned | nelements () const |
| Give the number of elements (site sets) of this composite.
|
const S & | operator[] (unsigned i) const |
| Return the i-th site set.
|
| p_set_of () |
| Constructor without arguments.
|
Related Functions |
(Note that these are not member functions.)
|
template<typename Sl, typename Sr> |
p_set< typename Sl::site > | diff (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
| Set theoretic difference of lhs and rhs .
|
template<typename Sl, typename Sr> |
p_set< typename Sl::site > | inter (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
| Intersection between a couple of point sets.
|
template<typename Sl, typename Sr> |
bool | operator< (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
| Strict inclusion test between site sets lhs and rhs .
|
template<typename S> |
std::ostream & | operator<< (std::ostream &ostr, const Site_Set< S > &set) |
| Print a site set set into the output stream ostr .
|
template<typename Sl, typename Sr> |
bool | operator<= (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
| Inclusion test between site sets lhs and rhs .
|
template<typename Sl, typename Sr> |
bool | operator== (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
| Equality test between site sets lhs and rhs .
|
template<typename Sl, typename Sr> |
p_set< typename Sl::site > | sym_diff (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
| Set theoretic symmetrical difference of lhs and rhs .
|
template<typename Sl, typename Sr> |
p_set< typename Sl::site > | uni (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
| Union of a couple of point sets.
|
template<typename S> |
p_set< typename S::site > | unique (const Site_Set< S > &s) |
| Give the unique set of s .
|
of site sets.