NIREP

C:/Programs/source/NIREP/Evaluator/NIREPTargetOverlap.h

00001 #pragma once
00002 #ifndef __nirepTO_H_
00003 #define __nirepTO_H_
00004 
00005 #include "NIREPStatistics.h"
00006 #include "EvaluatorList/EvaluatorList.h"
00007 
00008 //s =  (|X ∩ Y| ) / ( |Y| ) 
00009 
00010 class NIREPTargetOverlap : public NIREPStatistics
00011 {
00012 public:
00013   // Constructor with Evaluator reference
00014   NIREPTargetOverlap(NIREPEvaluator* eval)
00015   { this->evaluator = eval; };
00016 
00017   // Destructor
00018   ~NIREPTargetOverlap() {};
00019 
00020   // Implementation of the virtual function
00021   // Relative Overlap
00022   virtual TextTable ComputeStatistic(const std::vector<std::string>& arg, DisplayDescription * displayDescription);
00023 
00024 protected:
00025   // Default constructor
00026   NIREPTargetOverlap() {};
00027 
00028 };
00029 
00030 #endif // __nirepRO_H_
 All Classes Functions Variables Typedefs Enumerations Enumerator