Milena (Olena)  User documentation 2.0a Id
 All Classes Namespaces Functions Variables Typedefs Enumerator Groups Pages
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

Public Types

typedef P site
 Associated types.
 

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.
 

Detailed Description

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

Template Parameters
PSite type.

Definition at line 40 of file graph_window_base.hh.

Member Typedef Documentation

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.

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_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.

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.