Public Types | Public Member Functions | Protected Member Functions | Private Types

mln::graph_window_base< P, E > Class Template Reference

#include <graph_window_base.hh>

Inheritance diagram for mln::graph_window_base< P, E >:
Inheritance graph

List of all members.

Public Types

typedef Window< void > category
typedef E exact_t

typedef P 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?

Protected Member Functions

 graph_window_base ()

Private Types

typedef graph_window_base< P, E > self_

Detailed Description

template<typename P, typename E>
class mln::graph_window_base< P, E >

Template Parameters:
P Site type.

Definition at line 40 of file graph_window_base.hh.


Member Typedef Documentation

template<typename E>
typedef Window<void> mln::Window< E >::category [inherited]

Reimplemented from mln::Object< E >.

Definition at line 89 of file concept/window.hh.

template<typename P, typename E>
typedef void mln::graph_window_base< P, E >::dpsite

Definition at line 51 of file graph_window_base.hh.

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Definition at line 173 of file object.hh.

template<typename P, typename E>
typedef graph_window_base<P, E> mln::graph_window_base< P, E >::self_ [private]
template<typename P, typename E>
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.


Constructor & Destructor Documentation

template<typename P , typename E >
mln::graph_window_base< P, E >::graph_window_base (  )  [inline, protected]

Definition at line 97 of file graph_window_base.hh.


Member Function Documentation

template<typename P , typename E >
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.

template<typename P , typename E >
bool mln::graph_window_base< P, E >::is_centered (  )  const [inline]

Is the window centered?

Definition at line 112 of file graph_window_base.hh.

template<typename P , typename E >
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.

template<typename P , typename E >
bool mln::graph_window_base< P, E >::is_neighbable_ (  )  const [inline]

Is the window neighbable?

Definition at line 145 of file graph_window_base.hh.

template<typename P , typename E >
bool mln::graph_window_base< P, E >::is_symmetric (  )  const [inline]

Is the window symmetric?

Definition at line 120 of file graph_window_base.hh.

template<typename P , typename E >
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.

template<typename P , typename E >
graph_window_base< P, E > & mln::graph_window_base< P, E >::sym (  )  [inline]

Apply a central symmetry to the target window.

Definition at line 137 of file graph_window_base.hh.