|
Milena (Olena)
User documentation 2.0a Id
|
Site set transformed through a function. More...
#include <p_transformed.hh>
Inherits mln::internal::site_set_base_< S::psite, p_transformed< S, F > >, result, and check_t.
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 (const S &s, const F &f) | |
Constructor with a site set s and a predicate f. | |
| p_transformed () | |
| Constructor without argument. | |
| const S & | primary_set () const |
| Return the primary set. | |
Site set transformed through a function.
Parameter S is a site set type; parameter F is a function from site to site.
Definition at line 83 of file p_transformed.hh.
| typedef p_transformed_piter<typename S ::bkd_piter, S, F> mln::p_transformed< S, F >::bkd_piter |
Backward Site_Iterator associated type.
Definition at line 102 of file p_transformed.hh.
| typedef S ::element mln::p_transformed< S, F >::element |
Element associated type.
Definition at line 92 of file p_transformed.hh.
| typedef p_transformed_piter<typename S ::fwd_piter, S, F> mln::p_transformed< S, F >::fwd_piter |
Forward Site_Iterator associated type.
Definition at line 99 of file p_transformed.hh.
| typedef fwd_piter mln::p_transformed< S, F >::piter |
Site_Iterator associated type.
Definition at line 105 of file p_transformed.hh.
| typedef S ::psite mln::p_transformed< S, F >::psite |
Psite associated type.
Definition at line 96 of file p_transformed.hh.
|
inline |
Constructor with a site set s and a predicate f.
Definition at line 164 of file p_transformed.hh.
|
inline |
Constructor without argument.
Definition at line 158 of file p_transformed.hh.
|
inline |
Return the transformation function.
Definition at line 207 of file p_transformed.hh.
|
inline |
Test if p belongs to the subset.
Definition at line 173 of file p_transformed.hh.
|
inline |
Test if this site set is valid.
Definition at line 183 of file p_transformed.hh.
|
inline |
Return the size of this site set in memory.
Definition at line 191 of file p_transformed.hh.
|
inline |
Return the primary set.
Definition at line 199 of file p_transformed.hh.
Referenced by mln::p_transformed_piter< Pi, S, F >::change_target().