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