#include <value_and_compute.hh>
Public Types | |
typedef A::result | accu_result |
typedef I::psite | P |
typedef util::couple < util::array< accu_result > , util::array< A > > | result |
typedef I::domain_t | S |
Public Member Functions | |
void | do_no_union (const P &, const P &) |
void | do_no_union_ (unsigned, unsigned) |
bool | equiv (const P &n, const P &) const |
bool | equiv_ (unsigned n, unsigned) const |
void | finalize () |
void | finalize_ () |
bool | handles (const P &p) const |
bool | handles_ (unsigned p) const |
void | init () |
void | init_ () |
void | init_attr (const P &) |
void | init_attr_ (unsigned) |
bool | labels (const P &) const |
bool | labels_ (unsigned) const |
void | merge_attr (const P &, const P &) |
void | merge_attr_ (unsigned, unsigned) |
typedef | mln_argument (A) accu_argument |
void | set_label (const P &p, const L &l) |
void | set_label_ (unsigned p, const L &l) |
void | set_new_label (const P &p, const L &l) |
void | set_new_label_ (unsigned p, const L &l) |
value_and_compute_functor (const Image< I > &input_, const typename I::value &val) | |
Public Attributes | |
util::array< A > | accus_ |
const I & | input |
util::array< typename A::result > | result_ |
const I::value & | val |
Private Member Functions | |
void | process__ (const unsigned &, unsigned p, const L &l) |
template<typename V > | |
void | process__ (const V &, const typename I::site &, const L &l) |
void | process__ (const typename I::value &, const typename I::site &, const L &l) |
void | process__ (const typename I::psite &, const typename I::site &p, const L &l) |
void | process__ (const typename I::psite &, unsigned p, const L &l) |
Definition at line 98 of file value_and_compute.hh.
typedef A ::result mln::labeling::impl::value_and_compute_functor< I, L, A >::accu_result |
Definition at line 108 of file value_and_compute.hh.
typedef I ::psite mln::labeling::impl::value_and_compute_functor< I, L, A >::P |
Definition at line 100 of file value_and_compute.hh.
typedef util::couple<util::array<accu_result>, util::array<A> > mln::labeling::impl::value_and_compute_functor< I, L, A >::result |
Definition at line 111 of file value_and_compute.hh.
typedef I ::domain_t mln::labeling::impl::value_and_compute_functor< I, L, A >::S |
Definition at line 116 of file value_and_compute.hh.
mln::labeling::impl::value_and_compute_functor< I, L, A >::value_and_compute_functor | ( | const Image< I > & | input_, | |
const typename I::value & | val | |||
) | [inline] |
Definition at line 158 of file value_and_compute.hh.
void mln::labeling::impl::value_and_compute_functor< I, L, A >::do_no_union | ( | const P & | , | |
const P & | ||||
) | [inline] |
Definition at line 124 of file value_and_compute.hh.
void mln::labeling::impl::value_and_compute_functor< I, L, A >::do_no_union_ | ( | unsigned | , | |
unsigned | ||||
) | [inline] |
Definition at line 143 of file value_and_compute.hh.
bool mln::labeling::impl::value_and_compute_functor< I, L, A >::equiv | ( | const P & | n, | |
const P & | ||||
) | const [inline] |
Definition at line 122 of file value_and_compute.hh.
References mln::labeling::impl::value_and_compute_functor< I, L, A >::input, and mln::labeling::impl::value_and_compute_functor< I, L, A >::val.
bool mln::labeling::impl::value_and_compute_functor< I, L, A >::equiv_ | ( | unsigned | n, | |
unsigned | ||||
) | const [inline] |
Definition at line 141 of file value_and_compute.hh.
References mln::labeling::impl::value_and_compute_functor< I, L, A >::val.
void mln::labeling::impl::value_and_compute_functor< I, L, A >::finalize | ( | ) | [inline] |
Definition at line 133 of file value_and_compute.hh.
References mln::labeling::impl::value_and_compute_functor< I, L, A >::accus_, mln::convert::from_to(), and mln::labeling::impl::value_and_compute_functor< I, L, A >::result_.
void mln::labeling::impl::value_and_compute_functor< I, L, A >::finalize_ | ( | ) | [inline] |
Definition at line 152 of file value_and_compute.hh.
References mln::labeling::impl::value_and_compute_functor< I, L, A >::accus_, mln::convert::from_to(), and mln::labeling::impl::value_and_compute_functor< I, L, A >::result_.
bool mln::labeling::impl::value_and_compute_functor< I, L, A >::handles | ( | const P & | p | ) | const [inline] |
Definition at line 121 of file value_and_compute.hh.
References mln::labeling::impl::value_and_compute_functor< I, L, A >::input, and mln::labeling::impl::value_and_compute_functor< I, L, A >::val.
bool mln::labeling::impl::value_and_compute_functor< I, L, A >::handles_ | ( | unsigned | p | ) | const [inline] |
Definition at line 140 of file value_and_compute.hh.
References mln::labeling::impl::value_and_compute_functor< I, L, A >::val.
void mln::labeling::impl::value_and_compute_functor< I, L, A >::init | ( | ) | [inline] |
Definition at line 120 of file value_and_compute.hh.
void mln::labeling::impl::value_and_compute_functor< I, L, A >::init_ | ( | ) | [inline] |
Definition at line 139 of file value_and_compute.hh.
References mln::labeling::impl::value_and_compute_functor< I, L, A >::accus_, and mln::util::array< T >::append().
void mln::labeling::impl::value_and_compute_functor< I, L, A >::init_attr | ( | const P & | ) | [inline] |
Definition at line 125 of file value_and_compute.hh.
void mln::labeling::impl::value_and_compute_functor< I, L, A >::init_attr_ | ( | unsigned | ) | [inline] |
Definition at line 144 of file value_and_compute.hh.
bool mln::labeling::impl::value_and_compute_functor< I, L, A >::labels | ( | const P & | ) | const [inline] |
Definition at line 123 of file value_and_compute.hh.
bool mln::labeling::impl::value_and_compute_functor< I, L, A >::labels_ | ( | unsigned | ) | const [inline] |
Definition at line 142 of file value_and_compute.hh.
void mln::labeling::impl::value_and_compute_functor< I, L, A >::merge_attr | ( | const P & | , | |
const P & | ||||
) | [inline] |
Definition at line 126 of file value_and_compute.hh.
void mln::labeling::impl::value_and_compute_functor< I, L, A >::merge_attr_ | ( | unsigned | , | |
unsigned | ||||
) | [inline] |
Definition at line 145 of file value_and_compute.hh.
typedef mln::labeling::impl::value_and_compute_functor< I, L, A >::mln_argument | ( | A | ) |
void mln::labeling::impl::value_and_compute_functor< I, L, A >::process__ | ( | const unsigned & | , | |
unsigned | p, | |||
const L & | l | |||
) | [inline, private] |
Definition at line 167 of file value_and_compute.hh.
References mln::labeling::impl::value_and_compute_functor< I, L, A >::accus_.
Referenced by mln::labeling::impl::value_and_compute_functor< I, L, A >::set_label(), mln::labeling::impl::value_and_compute_functor< I, L, A >::set_label_(), mln::labeling::impl::value_and_compute_functor< I, L, A >::set_new_label(), and mln::labeling::impl::value_and_compute_functor< I, L, A >::set_new_label_().
void mln::labeling::impl::value_and_compute_functor< I, L, A >::process__ | ( | const typename I::psite & | , | |
unsigned | p, | |||
const L & | l | |||
) | [inline, private] |
Definition at line 173 of file value_and_compute.hh.
References mln::labeling::impl::value_and_compute_functor< I, L, A >::accus_.
void mln::labeling::impl::value_and_compute_functor< I, L, A >::process__ | ( | const typename I::value & | , | |
const typename I::site & | , | |||
const L & | l | |||
) | [inline, private] |
Definition at line 186 of file value_and_compute.hh.
References mln::labeling::impl::value_and_compute_functor< I, L, A >::accus_.
void mln::labeling::impl::value_and_compute_functor< I, L, A >::process__ | ( | const V & | , | |
const typename I::site & | , | |||
const L & | l | |||
) | [inline, private] |
Definition at line 193 of file value_and_compute.hh.
void mln::labeling::impl::value_and_compute_functor< I, L, A >::process__ | ( | const typename I::psite & | , | |
const typename I::site & | p, | |||
const L & | l | |||
) | [inline, private] |
Definition at line 180 of file value_and_compute.hh.
References mln::labeling::impl::value_and_compute_functor< I, L, A >::accus_.
void mln::labeling::impl::value_and_compute_functor< I, L, A >::set_label | ( | const P & | p, | |
const L & | l | |||
) | [inline] |
Definition at line 132 of file value_and_compute.hh.
References mln::labeling::impl::value_and_compute_functor< I, L, A >::process__().
void mln::labeling::impl::value_and_compute_functor< I, L, A >::set_label_ | ( | unsigned | p, | |
const L & | l | |||
) | [inline] |
Definition at line 151 of file value_and_compute.hh.
References mln::labeling::impl::value_and_compute_functor< I, L, A >::process__().
void mln::labeling::impl::value_and_compute_functor< I, L, A >::set_new_label | ( | const P & | p, | |
const L & | l | |||
) | [inline] |
Definition at line 127 of file value_and_compute.hh.
References mln::labeling::impl::value_and_compute_functor< I, L, A >::accus_, mln::util::array< T >::append(), and mln::labeling::impl::value_and_compute_functor< I, L, A >::process__().
void mln::labeling::impl::value_and_compute_functor< I, L, A >::set_new_label_ | ( | unsigned | p, | |
const L & | l | |||
) | [inline] |
Definition at line 146 of file value_and_compute.hh.
References mln::labeling::impl::value_and_compute_functor< I, L, A >::accus_, mln::util::array< T >::append(), and mln::labeling::impl::value_and_compute_functor< I, L, A >::process__().
util::array<A> mln::labeling::impl::value_and_compute_functor< I, L, A >::accus_ |
Definition at line 103 of file value_and_compute.hh.
Referenced by mln::labeling::impl::value_and_compute_functor< I, L, A >::finalize(), mln::labeling::impl::value_and_compute_functor< I, L, A >::finalize_(), mln::labeling::impl::value_and_compute_functor< I, L, A >::init_(), mln::labeling::impl::value_and_compute_functor< I, L, A >::process__(), mln::labeling::impl::value_and_compute_functor< I, L, A >::set_new_label(), and mln::labeling::impl::value_and_compute_functor< I, L, A >::set_new_label_().
const I& mln::labeling::impl::value_and_compute_functor< I, L, A >::input |
Definition at line 105 of file value_and_compute.hh.
Referenced by mln::labeling::impl::value_and_compute_functor< I, L, A >::equiv(), and mln::labeling::impl::value_and_compute_functor< I, L, A >::handles().
util::array<typename A ::result> mln::labeling::impl::value_and_compute_functor< I, L, A >::result_ |
Definition at line 102 of file value_and_compute.hh.
Referenced by mln::labeling::impl::value_and_compute_functor< I, L, A >::finalize(), and mln::labeling::impl::value_and_compute_functor< I, L, A >::finalize_().
const I ::value& mln::labeling::impl::value_and_compute_functor< I, L, A >::val |
Definition at line 106 of file value_and_compute.hh.
Referenced by mln::labeling::impl::value_and_compute_functor< I, L, A >::equiv(), mln::labeling::impl::value_and_compute_functor< I, L, A >::equiv_(), mln::labeling::impl::value_and_compute_functor< I, L, A >::handles(), and mln::labeling::impl::value_and_compute_functor< I, L, A >::handles_().