hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SphinxResultNullSorter.hpp
Go to the documentation of this file.
1 
15 #ifndef SPHINXRESULTNULLSORTER_HPP_
16 #define SPHINXRESULTNULLSORTER_HPP_
17 
18 #include "SphinxResultSorterIf.hpp"
19 #include <vector>
20 
21 namespace HCE
22 {
23 namespace sphinx
24 {
25 namespace reduce_task
26 {
27 
29 public:
31  virtual ~SphinxResultNullSorter();
32 
33  void sortByWeight(std::vector<std::pair<std::string, unsigned long long> > &weightDocIds);
34 
35  virtual void sort(std::vector<std::pair<std::string, unsigned long long> > &allWeightDocIds){}
36 };
37 
38 }
39 }
40 }
41 
42 #endif