Navigation:
Up
Table of Contents
Package Overview
Bibliography
Index
Title
Acknowledging CGAL
CGAL::Multiscale_sort<Sort>
Definition
The class
Multiscale_sort<Sort>
represents a sorting algorithm adaptor. Given a range of
n
points:
it applies
Sort
on the last
(1 -
ratio
) × n
points,
it recurses on the first
ratio
× n
points, stopping when there are less than
threshold
points.
Creation
Multiscale_sort<Sort> o ( const Sort &sort = Sort(), std::ptrdiff_t threshold = 1,
double
ratio = 0.5);
constructs an instance with
traits
as traits class instance.
Operations
template <class RandomAccessIterator>
void
o.operator() ( RandomAccessIterator begin, RandomAccessIterator end) const
sorts the range [
begin
,
end
).
Requirement:
Sort::operator()(RandomAccessIterator begin, RandomAccessIterator end)
is defined.
Navigation:
Up
Table of Contents
Package Overview
Bibliography
Index
Title
Acknowledging CGAL
CGAL Open Source Project
. Release 3.7. 14 October 2010.