#include <p_centered.hh>
Inherits mln::internal::site_set_base_< W::psite, mln::p_centered< W > >, and mlc_is_aW.
Public Types | |
| typedef p_centered_piter< W > | bkd_piter |
| Backward Site_Iterator associated type. | |
| typedef psite | element |
| Element associated type. | |
| typedef p_centered_piter< W > | fwd_piter |
| Forward Site_Iterator associated type. | |
| typedef fwd_piter | piter |
| Site_Iterator associated type. | |
| typedef W::psite | psite |
| Psite associated type. | |
| typedef W::site | site |
| Site associated type. | |
Public Member Functions | |
| const W::psite & | center () const |
| Give the center of this site set. | |
| template<typename P> | |
| bool | has (const P &p) const |
Test if p belongs to the box. | |
| bool | is_valid () const |
| Test if this site set is initialized. | |
| std::size_t | memory_size () const |
| Return the size of this site set in memory. | |
| p_centered (const W &win, const typename W::psite &c) | |
Constructor from a window win and a center c. | |
| p_centered () | |
| Constructor without argument. | |
| const W & | window () const |
| Give the window this site set is defined upon. | |
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. | |
| typedef p_centered_piter<W> mln::p_centered< W >::bkd_piter |
Backward Site_Iterator associated type.
| typedef psite mln::p_centered< W >::element |
Element associated type.
| typedef p_centered_piter<W> mln::p_centered< W >::fwd_piter |
Forward Site_Iterator associated type.
| typedef fwd_piter mln::p_centered< W >::piter |
Site_Iterator associated type.
| typedef W ::psite mln::p_centered< W >::psite |
Psite associated type.
| typedef W ::site mln::p_centered< W >::site |
Site associated type.
| mln::p_centered< W >::p_centered | ( | ) | [inline] |
Constructor without argument.
| mln::p_centered< W >::p_centered | ( | const W & | win, | |
| const typename W::psite & | c | |||
| ) | [inline] |
| const W::psite & mln::p_centered< W >::center | ( | ) | const [inline] |
Give the center of this site set.
| bool mln::p_centered< W >::has | ( | const P & | p | ) | const [inline] |
| bool mln::p_centered< W >::is_valid | ( | ) | const [inline] |
Test if this site set is initialized.
Referenced by mln::p_centered< W >::has(), and mln::p_centered< W >::p_centered().
| std::size_t mln::p_centered< W >::memory_size | ( | ) | const [inline] |
Return the size of this site set in memory.
| const W & mln::p_centered< W >::window | ( | ) | const [inline] |
| p_set< typename Sl::site > diff | ( | const Site_Set< Sl > & | lhs, | |
| const Site_Set< Sr > & | rhs | |||
| ) | [related, inherited] |
Set theoretic difference of lhs and rhs.
| p_set< typename Sl::site > inter | ( | const Site_Set< Sl > & | lhs, | |
| const Site_Set< Sr > & | rhs | |||
| ) | [related, inherited] |
Intersection between a couple of point sets.
| std::ostream & operator<< | ( | std::ostream & | ostr, | |
| const Site_Set< S > & | set | |||
| ) | [related, inherited] |
| p_set< typename Sl::site > sym_diff | ( | const Site_Set< Sl > & | lhs, | |
| const Site_Set< Sr > & | rhs | |||
| ) | [related, inherited] |
Set theoretic symmetrical difference of lhs and rhs.
| p_set< typename Sl::site > uni | ( | const Site_Set< Sl > & | lhs, | |
| const Site_Set< Sr > & | rhs | |||
| ) | [related, inherited] |
Union of a couple of point sets.
| p_set< typename S::site > unique | ( | const Site_Set< S > & | s | ) | [related, inherited] |
Give the unique set of s.
1.5.6