hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
SphinxTaskReducer.hpp
Go to the documentation of this file.
1
15
#ifndef SPHINXREDUCER_HPP_
16
#define SPHINXREDUCER_HPP_
17
18
#include "
SphinxTaskReducerIf.hpp
"
19
#include "
SphinxResultDataAccumulatorFactory.hpp
"
20
#include "
SphinxReduceJobBuilder.hpp
"
21
#include "
SphinxResultData.hpp
"
22
#include "
SphinxResultBuilderIf.hpp
"
23
#include "
ScheduleStrategySingle.hpp
"
24
#include <vector>
25
26
namespace
HCE{
27
namespace
sphinx{
28
namespace
reduce_task{
29
30
class
SphinxTaskReducer
:
public
SphinxTaskReducerIf
{
31
public
:
32
SphinxTaskReducer
(
SphinxResultBuilderIf
& sphinxResultBuilder,
33
SphinxReduceJobBuilderIf
& reduceJobBuilder,
34
SphinxResultDataAccumulatorFactoryIf
& sphinxResultDataAccumulatorFactory);
35
virtual
~SphinxTaskReducer
();
36
37
void
addData
(
SphinxResultData
& sphinxResultData);
38
void
reduce
(
HCE::reduce::core::ScheduleStrategyIf
& scheduleStrategy);
39
Poco::SharedPtr<SphinxResultData>
getResult
();
40
41
private
:
42
SphinxTaskReducer
();
43
SphinxResultBuilderIf
& _sphinxResultBuilder;
44
Poco::SharedPtr<HCE::reduce::core::ReduceJobIf> _reduceJob;
45
Poco::SharedPtr<SphinxResultDataAccumulatorIf> _sphinxResultDataAccumulator;
46
};
47
}
48
}
49
}
50
51
#endif
sources
utils
reduceSphinx
src
SphinxTaskReducer.hpp
Generated on Tue Jun 30 2015 19:42:15 for hce-node application by
1.8.1.2