Orders PositionElements by their value. More...
Public Member Functions | |
bool | operator< (OrderByValue< T > t) |
Compare two OrderByValue elements by their value. | |
bool | operator< (float t) |
Compare the value of the element to a float. |
Orders PositionElements by their value.
This class causes PositionElements, containing position and value attributes, to be sorted by their value. This is useful to the Accumulator when sorting partially scored documents.