|
Frobby 0.10.0
|


Public Member Functions | |
| virtual const char * | getName () const |
| virtual size_t | getLabelSplitVariable (const Slice &slice) const |
| Public Member Functions inherited from SplitStrategyCommon | |
| virtual void | getPivot (Term &pivot, Slice &slice) const |
| virtual void | getPivot (Term &pivot, Slice &slice, const TermGrader &grader) const |
| virtual bool | isPivotSplit () const |
Static Public Member Functions | |
| static const char * | staticGetName () |
| Static Public Member Functions inherited from SplitStrategy | |
| static unique_ptr< SplitStrategy > | createStrategy (const string &prefix) |
Additional Inherited Members | |
| Protected Member Functions inherited from LabelSplit | |
| void | setCounts (const Slice &slice) const |
| void | setOneCounts (const Slice &slice) const |
| virtual bool | isLabelSplit () const |
| Protected Member Functions inherited from SplitStrategyCommon | |
| Exponent | getMedianPositiveExponentOf (Slice &slice, size_t var) const |
| size_t | getBestVar (const Slice &slice) const |
| Protected Member Functions inherited from SplitStrategy | |
| SplitStrategy (const SplitStrategy &) | |
| SplitStrategy & | operator= (const SplitStrategy &) |
| bool | operator== (const SplitStrategy &) |
| Protected Attributes inherited from LabelSplit | |
| Term | _counts |
| Term | _oneCounts |
| Protected Attributes inherited from SplitStrategyCommon | |
| Term | coVariableForGetBestVar |
|
inlinevirtual |
Returns the variable to perform a label split on.
This method must only be called if isLabelSplit() returns true.
Reimplemented from SplitStrategyCommon.
|
inlinevirtual |
Returns the name of the strategy.
Implements SplitStrategy.