From 521e8c49ad529f17f63eca1726ba8e2f564ac290 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sat, 24 Sep 2011 23:46:49 +0200 Subject: cleaning up --- dtrain/scfg/features/count/featurecount | Bin 502018 -> 0 bytes dtrain/scfg/features/count/featurecount.h | 32 +++++++++++++++++++++++++++++ dtrain/scfg/features/count/featurecount.hh | 32 ----------------------------- 3 files changed, 32 insertions(+), 32 deletions(-) delete mode 100755 dtrain/scfg/features/count/featurecount create mode 100644 dtrain/scfg/features/count/featurecount.h delete mode 100644 dtrain/scfg/features/count/featurecount.hh (limited to 'dtrain/scfg') diff --git a/dtrain/scfg/features/count/featurecount b/dtrain/scfg/features/count/featurecount deleted file mode 100755 index 14486e4c..00000000 Binary files a/dtrain/scfg/features/count/featurecount and /dev/null differ diff --git a/dtrain/scfg/features/count/featurecount.h b/dtrain/scfg/features/count/featurecount.h new file mode 100644 index 00000000..9431534f --- /dev/null +++ b/dtrain/scfg/features/count/featurecount.h @@ -0,0 +1,32 @@ +#ifndef __FEATURECOUNT_HH__ +#define __FEATURECOUNT_HH__ + +#include "hadoop/Pipes.hh" +#include "hadoop/TemplateFactory.hh" +#include "hadoop/StringUtils.hh" +#include +#include +#include +#include +#include + +using namespace std; + + +class FeatureCountMapper : public HadoopPipes::Mapper +{ + public: + FeatureCountMapper( const HadoopPipes::TaskContext& ) {}; + void map( HadoopPipes::MapContext &context ); +}; + +class FeatureCountReducer : public HadoopPipes::Reducer +{ + public: + FeatureCountReducer( const HadoopPipes::TaskContext& ) {}; + void reduce( HadoopPipes::ReduceContext & context ); +}; + + +#endif + diff --git a/dtrain/scfg/features/count/featurecount.hh b/dtrain/scfg/features/count/featurecount.hh deleted file mode 100644 index 9431534f..00000000 --- a/dtrain/scfg/features/count/featurecount.hh +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef __FEATURECOUNT_HH__ -#define __FEATURECOUNT_HH__ - -#include "hadoop/Pipes.hh" -#include "hadoop/TemplateFactory.hh" -#include "hadoop/StringUtils.hh" -#include -#include -#include -#include -#include - -using namespace std; - - -class FeatureCountMapper : public HadoopPipes::Mapper -{ - public: - FeatureCountMapper( const HadoopPipes::TaskContext& ) {}; - void map( HadoopPipes::MapContext &context ); -}; - -class FeatureCountReducer : public HadoopPipes::Reducer -{ - public: - FeatureCountReducer( const HadoopPipes::TaskContext& ) {}; - void reduce( HadoopPipes::ReduceContext & context ); -}; - - -#endif - -- cgit v1.2.3