#include <closest_point_functor.hh>
Public Types | |
typedef I::psite | P |
typedef I::value | V |
Public Member Functions | |
closest_point_functor_with_indexes (const p_array< P > &pset) | |
void | init (const I &) |
Generic version interface. | |
void | init_ (const I &input) |
Fast version interface. | |
void | init_p (const P &) |
void | init_p_ (unsigned) |
bool | inqueue_p_wrt_input_n (const V &input_n) |
bool | inqueue_p_wrt_input_n_ (const V &input_n) |
bool | inqueue_p_wrt_input_p (const V &input_p) |
bool | inqueue_p_wrt_input_p_ (const V &input_p) |
void | process (const P &, const P &) |
void | process_ (unsigned p, unsigned n) |
Public Attributes | |
mln::trait::ch_value< I, unsigned >::ret | cp_ima |
const p_array< P > & | pset_ |
Computes an image of closest points.
The image values are initialized with pset.nsites()
.
Definition at line 53 of file closest_point_functor.hh.
typedef I ::psite mln::transform::internal::closest_point_functor_with_indexes< I >::P |
Definition at line 56 of file closest_point_functor.hh.
typedef I ::value mln::transform::internal::closest_point_functor_with_indexes< I >::V |
Definition at line 55 of file closest_point_functor.hh.
mln::transform::internal::closest_point_functor_with_indexes< I >::closest_point_functor_with_indexes | ( | const p_array< P > & | pset | ) | [inline] |
Definition at line 112 of file closest_point_functor.hh.
void mln::transform::internal::closest_point_functor_with_indexes< I >::init | ( | const I & | input | ) | [inline] |
Generic version interface.
Definition at line 121 of file closest_point_functor.hh.
References mln::transform::internal::closest_point_functor_with_indexes< I >::cp_ima, mln::data::fill(), and mln::initialize().
Referenced by mln::transform::internal::closest_point_functor_with_indexes< I >::init_().
void mln::transform::internal::closest_point_functor_with_indexes< I >::init_ | ( | const I & | input | ) | [inline] |
Fast version interface.
Definition at line 166 of file closest_point_functor.hh.
References mln::transform::internal::closest_point_functor_with_indexes< I >::init().
void mln::transform::internal::closest_point_functor_with_indexes< I >::init_p | ( | const P & | ) | [inline] |
Definition at line 142 of file closest_point_functor.hh.
void mln::transform::internal::closest_point_functor_with_indexes< I >::init_p_ | ( | unsigned | ) | [inline] |
Definition at line 181 of file closest_point_functor.hh.
bool mln::transform::internal::closest_point_functor_with_indexes< I >::inqueue_p_wrt_input_n | ( | const V & | input_n | ) | [inline] |
Definition at line 149 of file closest_point_functor.hh.
bool mln::transform::internal::closest_point_functor_with_indexes< I >::inqueue_p_wrt_input_n_ | ( | const V & | input_n | ) | [inline] |
Definition at line 188 of file closest_point_functor.hh.
bool mln::transform::internal::closest_point_functor_with_indexes< I >::inqueue_p_wrt_input_p | ( | const V & | input_p | ) | [inline] |
Definition at line 134 of file closest_point_functor.hh.
bool mln::transform::internal::closest_point_functor_with_indexes< I >::inqueue_p_wrt_input_p_ | ( | const V & | input_p | ) | [inline] |
Definition at line 174 of file closest_point_functor.hh.
void mln::transform::internal::closest_point_functor_with_indexes< I >::process | ( | const P & | p, | |
const P & | n | |||
) | [inline] |
Definition at line 156 of file closest_point_functor.hh.
References mln::transform::internal::closest_point_functor_with_indexes< I >::cp_ima.
void mln::transform::internal::closest_point_functor_with_indexes< I >::process_ | ( | unsigned | p, | |
unsigned | n | |||
) | [inline] |
Definition at line 196 of file closest_point_functor.hh.
mln::trait::ch_value< I , unsigned >::ret mln::transform::internal::closest_point_functor_with_indexes< I >::cp_ima |
const p_array<P>& mln::transform::internal::closest_point_functor_with_indexes< I >::pset_ |
Definition at line 61 of file closest_point_functor.hh.