template<typename Traits, typename SpatialSeparator>
class CGAL::Fair< Traits, SpatialSeparator >
Implements the fair splitting rule. This splitting rule is a compromise between the median of rectangle splitting rule and the midpoint of rectangle splitting rule. This splitting rule maintains an upper bound on the maximal allowed ratio of the longest and shortest side of a rectangle (the value of this upper bound is set in the constructor of the fair splitting rule). Among the splits that satisfy this bound, it selects the one in which the points have the largest spread. It then splits the points in the most even manner possible, subject to maintaining the bound on the ratio of the resulting rectangles.
- Template Parameters
-
- Is Model Of:
Splitter
- See also
Splitter
-
SpatialSeparator
- Examples
- Spatial_searching/using_fair_splitting_rule.cpp.