Multiple window. More...
#include <multiple.hh>
Public Types | |
typedef multiple_qiter< W, F > | bkd_qiter |
typedef Window< void > | category |
typedef W::dpsite | dpsite |
DPsite associated type. | |
typedef W | element |
typedef multiple< W, F > | exact_t |
typedef multiple_qiter< W, F > | fwd_qiter |
typedef W::psite | psite |
Psite associated type. | |
typedef multiple_qiter< W, F > | qiter |
typedef multiple< window < dpsite >, F > | regular |
typedef W::site | site |
Site associated type. | |
Public Member Functions | |
unsigned | delta () const |
const F & | function () const |
bool | is_centered () const |
bool | is_empty () const |
bool | is_neighbable_ () const |
Test if this window can be a neighborhood. | |
bool | is_symmetric () const |
bool | is_valid () const |
return true by default. | |
const W::dpsite & | ith_dp_around (unsigned i, const typename W::psite &p) const |
multiple (const F &f) | |
multiple () | |
unsigned | nwindows () const |
void | set_window (unsigned i, const W &win) |
unsigned | size () const |
void | sym () |
const W & | window_ (unsigned i) const |
Private Attributes | |
F | f_ |
util::array< W > | win_ |
Multiple window.
typedef multiple_qiter<W,F> mln::win::multiple< W, F >::bkd_qiter |
typedef Window<void> mln::Window< multiple< W, F > >::category [inherited] |
Reimplemented from mln::Object< multiple< W, F > >.
typedef W ::dpsite mln::win::multiple< W, F >::dpsite |
DPsite associated type.
Reimplemented from mln::internal::window_base< W::dpsite, multiple< W, F > >.
typedef W mln::win::multiple< W, F >::element |
typedef multiple< W, F > mln::Object< multiple< W, F > >::exact_t [inherited] |
typedef multiple_qiter<W,F> mln::win::multiple< W, F >::fwd_qiter |
typedef W ::psite mln::win::multiple< W, F >::psite |
Psite associated type.
Reimplemented from mln::internal::window_base< W::dpsite, multiple< W, F > >.
typedef multiple_qiter<W,F> mln::win::multiple< W, F >::qiter |
typedef multiple< window<dpsite>, F > mln::win::multiple< W, F >::regular |
typedef W ::site mln::win::multiple< W, F >::site |
Site associated type.
Reimplemented from mln::internal::window_base< W::dpsite, multiple< W, F > >.
mln::win::multiple< W, F >::multiple | ( | ) | [inline] |
mln::win::multiple< W, F >::multiple | ( | const F & | f | ) | [inline] |
unsigned mln::win::multiple< W, F >::delta | ( | ) | const [inline] |
const F & mln::win::multiple< W, F >::function | ( | ) | const [inline] |
bool mln::win::multiple< W, F >::is_centered | ( | ) | const [inline] |
bool mln::win::multiple< W, F >::is_empty | ( | ) | const [inline] |
bool mln::internal::window_base< W::dpsite , multiple< W, F > >::is_neighbable_ | ( | ) | const [inherited] |
Test if this window can be a neighborhood.
bool mln::win::multiple< W, F >::is_symmetric | ( | ) | const [inline] |
bool mln::internal::window_base< W::dpsite , multiple< W, F > >::is_valid | ( | ) | const [inherited] |
return true by default.
const W::dpsite & mln::win::multiple< W, F >::ith_dp_around | ( | unsigned | i, | |
const typename W::psite & | p | |||
) | const [inline] |
References mln::win::multiple< W, F >::f_, and mln::win::multiple< W, F >::size().
unsigned mln::win::multiple< W, F >::nwindows | ( | ) | const [inline] |
void mln::win::multiple< W, F >::set_window | ( | unsigned | i, | |
const W & | win | |||
) | [inline] |
unsigned mln::win::multiple< W, F >::size | ( | ) | const [inline] |
void mln::win::multiple< W, F >::sym | ( | ) | [inline] |
const W & mln::win::multiple< W, F >::window_ | ( | unsigned | i | ) | const [inline] |
F mln::win::multiple< W, F >::f_ [private] |
Referenced by mln::win::multiple< W, F >::ith_dp_around().
util::array<W> mln::win::multiple< W, F >::win_ [private] |