#include <graph_window_base.hh>
Public Types | |
typedef Window< void > | category |
typedef E | exact_t |
typedef void | dpsite |
typedef P | site |
Associated types. | |
Public Member Functions | |
bool | is_valid () const |
Return true by default. | |
unsigned | delta () const |
Return the maximum coordinate gap between the window center and a window point. | |
bool | is_centered () const |
Is the window centered? | |
bool | is_empty () const |
Interface of the concept Window. | |
bool | is_neighbable_ () const |
Is the window neighbable? | |
bool | is_symmetric () const |
Is the window symmetric? | |
self_ & | sym () |
Apply a central symmetry to the target window. | |
Protected Member Functions | |
graph_window_base () | |
Private Types | |
typedef graph_window_base< P, E > | self_ |
P | Site type. |
Definition at line 40 of file graph_window_base.hh.
typedef Window<void> mln::Window< E >::category [inherited] |
typedef void mln::graph_window_base< P, E >::dpsite |
Definition at line 51 of file graph_window_base.hh.
typedef E mln::Object< E >::exact_t [inherited] |
typedef graph_window_base<P, E> mln::graph_window_base< P, E >::self_ [private] |
Reimplemented in mln::graph_elt_mixed_window< G, S, S2 >, mln::graph_elt_window< G, S >, and mln::graph_elt_window_if< G, S, I >.
Definition at line 42 of file graph_window_base.hh.
typedef P mln::graph_window_base< P, E >::site |
Associated types.
The type of site corresponding to the window.
Definition at line 48 of file graph_window_base.hh.
mln::graph_window_base< P, E >::graph_window_base | ( | ) | [inline, protected] |
Definition at line 97 of file graph_window_base.hh.
unsigned mln::graph_window_base< P, E >::delta | ( | ) | const [inline] |
Return the maximum coordinate gap between the window center and a window point.
Definition at line 128 of file graph_window_base.hh.
bool mln::graph_window_base< P, E >::is_centered | ( | ) | const [inline] |
bool mln::graph_window_base< P, E >::is_empty | ( | ) | const [inline] |
Interface of the concept Window.
Is the window is empty?
Definition at line 104 of file graph_window_base.hh.
bool mln::graph_window_base< P, E >::is_neighbable_ | ( | ) | const [inline] |
bool mln::graph_window_base< P, E >::is_symmetric | ( | ) | const [inline] |
bool mln::graph_window_base< P, E >::is_valid | ( | ) | const [inline] |
Return true by default.
Reimplemented in mln::graph_elt_window_if< G, S, I >.
Definition at line 153 of file graph_window_base.hh.
graph_window_base< P, E > & mln::graph_window_base< P, E >::sym | ( | ) | [inline] |