NIREP
|
00001 #pragma once 00002 #ifndef __nirepDC_H_ 00003 #define __nirepDC_H_ 00004 00005 #include "NIREPStatistics.h" 00006 #include "EvaluatorList/EvaluatorList.h" 00007 00008 //s = (2 * |X ∩ Y| ) / ( |X| + |Y| ) 00009 00010 class NIREPDiceCoefficient : public NIREPStatistics 00011 { 00012 public: 00013 // Constructor with Evaluator reference 00014 NIREPDiceCoefficient(NIREPEvaluator* eval) 00015 { this->evaluator = eval; }; 00016 00017 // Destructor 00018 ~NIREPDiceCoefficient() {}; 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 NIREPDiceCoefficient() {}; 00027 00028 }; 00029 00030 #endif // __nirepRO_H_