[Olena-patches] last-svn-commit-220-gfc56934 Make the interface of thinning algorithms uniform w.r.t. functors.