Elementary window on graph class. More...
#include <graph_elt_window.hh>
Public Types | |
typedef Window< void > | category |
typedef graph_elt_window< G, S > | exact_t |
typedef S | target |
Associated types. | |
typedef target::psite | psite |
The type of psite corresponding to the window. | |
typedef graph_window_piter < target, self_, nbh_fwd_iter_ > | fwd_qiter |
Site_Iterator type to browse the psites of the window w.r.t. | |
typedef graph_window_piter < target, self_, nbh_bkd_iter_ > | bkd_qiter |
Site_Iterator type to browse the psites of the window w.r.t. | |
typedef fwd_qiter | qiter |
The default qiter type. | |
typedef S::fun_t::result | site |
Associated types. | |
typedef void | dpsite |
Public Member Functions | |
bool | is_valid () const |
Return true by default. | |
bool | is_empty () const |
Interface of the concept Window. | |
bool | is_centered () const |
Is the window centered? | |
bool | is_symmetric () const |
Is the window symmetric? | |
unsigned | delta () const |
Return the maximum coordinate gap between the window center and a window point. | |
self_ & | sym () |
Apply a central symmetry to the target window. | |
bool | is_neighbable_ () const |
Is the window neighbable? | |
Private Types | |
typedef super_::nbh_bkd_iter_ | nbh_bkd_iter_ |
typedef super_::nbh_fwd_iter_ | nbh_fwd_iter_ |
typedef graph_elt_window< G, S > | self_ |
typedef internal::graph_window_iter_dispatch < G, S > | super_ |
Elementary window on graph class.
G
is the graph type. S
is the image site set.
typedef graph_window_piter<target,self_,nbh_bkd_iter_> mln::graph_elt_window< G, S >::bkd_qiter |
Site_Iterator type to browse the psites of the window w.r.t.
the reverse ordering of vertices.
typedef Window<void> mln::Window< graph_elt_window< G, S > >::category [inherited] |
Reimplemented from mln::Object< graph_elt_window< G, S > >.
typedef void mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::dpsite [inherited] |
typedef graph_elt_window< G, S > mln::Object< graph_elt_window< G, S > >::exact_t [inherited] |
typedef graph_window_piter<target,self_,nbh_fwd_iter_> mln::graph_elt_window< G, S >::fwd_qiter |
Site_Iterator type to browse the psites of the window w.r.t.
the ordering of vertices.
typedef super_::nbh_bkd_iter_ mln::graph_elt_window< G, S >::nbh_bkd_iter_ [private] |
typedef super_::nbh_fwd_iter_ mln::graph_elt_window< G, S >::nbh_fwd_iter_ [private] |
typedef target ::psite mln::graph_elt_window< G, S >::psite |
The type of psite corresponding to the window.
typedef fwd_qiter mln::graph_elt_window< G, S >::qiter |
The default qiter type.
typedef graph_elt_window<G,S> mln::graph_elt_window< G, S >::self_ [private] |
Reimplemented from mln::graph_window_base< S::fun_t::result, graph_elt_window< G, S > >.
typedef S::fun_t::result mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::site [inherited] |
Associated types.
The type of site corresponding to the window.
typedef internal::graph_window_iter_dispatch<G,S> mln::graph_elt_window< G, S >::super_ [private] |
typedef S mln::graph_elt_window< G, S >::target |
Associated types.
unsigned mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::delta | ( | ) | const [inherited] |
Return the maximum coordinate gap between the window center and a window point.
bool mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::is_centered | ( | ) | const [inherited] |
Is the window centered?
bool mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::is_empty | ( | ) | const [inherited] |
Interface of the concept Window.
Is the window is empty?
bool mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::is_neighbable_ | ( | ) | const [inherited] |
Is the window neighbable?
bool mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::is_symmetric | ( | ) | const [inherited] |
Is the window symmetric?
bool mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::is_valid | ( | ) | const [inherited] |
Return true by default.
self_& mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::sym | ( | ) | [inherited] |
Apply a central symmetry to the target window.