#include <graph_window_piter.hh>
Inherits mln::internal::site_relative_iterator_base< W, mln::graph_window_piter< S, W, I >, W::center_t >, and mln::internal::impl_selector< W::center_t, W::psite, mln::graph_window_piter< S, W, I > >.
Public Types | |
typedef W::center_t | center_t |
Type of the window center. | |
typedef W::graph_element | graph_element |
Type of the graph element pointed by this iterator. | |
typedef S::fun_t::result | P |
Associated types
Type of the window elements. | |
Public Member Functions | |
void | change_target_site_set (const S &s) |
Change the target site set. | |
void | next () |
Go to the next element. | |
const S & | target_site_set () const |
Return the target site set. | |
const graph_element & | element () const |
Return the graph element pointed by this iterator. | |
unsigned | id () const |
Return the graph element id. | |
template<typename Pref> | |
graph_window_piter (const Window< W > &win, const Site_Set< S > &target_site_set, const Pref &p_ref) | |
To be used in case center and neighbors sites do not have the same type and do not belong to the same site set. | |
template<typename Pref> | |
graph_window_piter (const Window< W > &win, const Pref &p_ref) | |
To be used in case the center and neighbor sites have the same type and belong to the same site set. | |
graph_window_piter () | |
Construction. |
S | is the site set type. | |
W | is the window type. | |
I | is the underlying iterator type. |
typedef W::center_t mln::graph_window_piter< S, W, I >::center_t |
Type of the window center.
typedef W::graph_element mln::graph_window_piter< S, W, I >::graph_element |
Type of the graph element pointed by this iterator.
typedef S::fun_t ::result mln::graph_window_piter< S, W, I >::P |
mln::graph_window_piter< S, W, I >::graph_window_piter | ( | ) | [inline] |
Construction.
mln::graph_window_piter< S, W, I >::graph_window_piter | ( | const Window< W > & | win, | |
const Pref & | p_ref | |||
) | [inline] |
mln::graph_window_piter< S, W, I >::graph_window_piter | ( | const Window< W > & | win, | |
const Site_Set< S > & | target_site_set, | |||
const Pref & | p_ref | |||
) | [inline] |
void mln::graph_window_piter< S, W, I >::change_target_site_set | ( | const S & | s | ) | [inline] |
const graph_window_piter< S, W, I >::graph_element & mln::graph_window_piter< S, W, I >::element | ( | ) | const [inline] |
Return the graph element pointed by this iterator.
unsigned mln::graph_window_piter< S, W, I >::id | ( | ) | const [inline] |
void mln::Site_Iterator< E >::next | ( | ) | [inline, inherited] |
Go to the next element.
const S & mln::graph_window_piter< S, W, I >::target_site_set | ( | ) | const [inline] |