MRS  1.0
A C++ Class Library for Statistical Set Processing
subpavings::SplitOnVolDivK Class Reference

Class for splitting based on average volume per point of a node. More...

+ Inheritance diagram for subpavings::SplitOnVolDivK:
+ Collaboration diagram for subpavings::SplitOnVolDivK:

List of all members.

Public Member Functions

 SplitOnVolDivK (double avg, size_t minCP=0)
bool operator() () const
bool operator() (const SPSnode *const spn) const

Detailed Description

Class for splitting based on average volume per point of a node.

This class will try to split a node with average volume per point of data > avgVol, but will never split any node if the result would give at least one child with < minChildPoints of data associated with it. i.e. the class will only split a node if the node has > maxPoints of data and both children after the split will have >= minChildPoints of data.

Thus this class may leave a node with average volume per point of data > avgVol unsplit because splitting the node would create a child node with < minChildPoints of data associated with it.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends