#include <p_transformed.hh>
Inherits mln::internal::site_set_base_< S::psite, mln::p_transformed< S, F > >.
Public Types | |
| typedef p_transformed_piter < typename S::bkd_piter, S, F > | bkd_piter |
| Backward Site_Iterator associated type. | |
| typedef S::element | element |
| Element associated type. | |
| typedef p_transformed_piter < typename S::fwd_piter, S, F > | fwd_piter |
| Forward Site_Iterator associated type. | |
| typedef fwd_piter | piter |
| Site_Iterator associated type. | |
| typedef S::psite | psite |
| Psite associated type. | |
Public Member Functions | |
| const F & | function () const |
| Return the transformation function. | |
| bool | has (const psite &p) const |
Test if p belongs to the subset. | |
| bool | is_valid () const |
| Test if this site set is valid. | |
| std::size_t | memory_size () const |
| Return the size of this site set in memory. | |
| p_transformed () | |
| Constructor without argument. | |
| p_transformed (const S &s, const F &f) | |
Constructor with a site set s and a predicate f. | |
| const S & | primary_set () const |
| Return the primary set. | |
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. | |
Parameter S is a site set type; parameter F is a function from site to site.
| typedef p_transformed_piter<typename S ::bkd_piter, S, F> mln::p_transformed< S, F >::bkd_piter |
Backward Site_Iterator associated type.
| typedef S ::element mln::p_transformed< S, F >::element |
Element associated type.
| typedef p_transformed_piter<typename S ::fwd_piter, S, F> mln::p_transformed< S, F >::fwd_piter |
Forward Site_Iterator associated type.
| typedef fwd_piter mln::p_transformed< S, F >::piter |
Site_Iterator associated type.
| typedef S ::psite mln::p_transformed< S, F >::psite |
Psite associated type.
| mln::p_transformed< S, F >::p_transformed | ( | const S & | s, | |
| const F & | f | |||
| ) | [inline] |
Constructor with a site set s and a predicate f.
| mln::p_transformed< S, F >::p_transformed | ( | ) | [inline] |
Constructor without argument.
| const F & mln::p_transformed< S, F >::function | ( | ) | const [inline] |
Return the transformation function.
| bool mln::p_transformed< S, F >::has | ( | const psite & | p | ) | const [inline] |
Test if p belongs to the subset.
| bool mln::p_transformed< S, F >::is_valid | ( | ) | const [inline] |
Test if this site set is valid.
| std::size_t mln::p_transformed< S, F >::memory_size | ( | ) | const [inline] |
Return the size of this site set in memory.
| const S & mln::p_transformed< S, F >::primary_set | ( | ) | 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