Frobby
0.9.5
|
Public Member Functions | |
virtual const char * | getName () const |
Returns the name of the strategy. More... | |
virtual void | getPivot (Term &pivot, Slice &slice) const |
Sets pivot to the pivot of a pivot split on slice. More... | |
![]() | |
virtual bool | isPivotSplit () const |
If returns true, only call getPivot. More... | |
![]() | |
virtual void | getPivot (Term &pivot, Slice &slice, const TermGrader &grader) const |
Sets pivot to the pivot of a pivot split on slice. More... | |
virtual size_t | getLabelSplitVariable (const Slice &slice) const |
Returns the variable to perform a label split on. More... | |
virtual bool | isLabelSplit () const |
If returns true, only call getLabelSplitVariable. More... | |
![]() | |
virtual | ~SplitStrategy () |
Static Public Member Functions | |
static const char * | staticGetName () |
![]() | |
static const char * | staticGetName () |
![]() | |
static auto_ptr< SplitStrategy > | createStrategy (const string &prefix) |
Returns the strategy whose name has the given prefix. More... | |
Additional Inherited Members | |
![]() | |
Exponent | getMedianPositiveExponentOf (Slice &slice, size_t var) const |
size_t | getBestVar (const Slice &slice) const |
![]() | |
SplitStrategy () | |
SplitStrategy (const SplitStrategy &) | |
SplitStrategy & | operator= (const SplitStrategy &) |
bool | operator== (const SplitStrategy &) |
![]() | |
Term | coVariableForGetBestVar |
Definition at line 264 of file SplitStrategy.cpp.
|
inlinevirtual |
Returns the name of the strategy.
Reimplemented from MedianSplit.
Definition at line 266 of file SplitStrategy.cpp.
Sets pivot to the pivot of a pivot split on slice.
The slice is not changed mathematically, but e.g. the generators may be permuted.
This method must only be called if isPivotSplit() returns true.
Reimplemented from MedianSplit.
Definition at line 274 of file SplitStrategy.cpp.
|
inlinestatic |
Definition at line 270 of file SplitStrategy.cpp.