Debian Codegraph @

Source/Test/Evaluation/CReasonerEvaluationGroupRequestReasonerErrorAnalyser.h

raw
1 /*
2 * Copyright (C) 2013-2015, 2019 by the Konclude Developer Team.
3 *
4 * This file is part of the reasoning system Konclude.
5 * For details and support, see <http://konclude.com/>.
6 *
7 * Konclude is free software: you can redistribute it and/or modify
8 * it under the terms of version 3 of the GNU Lesser General Public
9 * License (LGPLv3) as published by the Free Software Foundation.
10 *
11 * Konclude is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU (Lesser) General Public License for more details.
15 *
16 * You should have received a copy of the GNU (Lesser) General Public
17 * License along with Konclude. If not, see <http://www.gnu.org/licenses/>.
18 *
19 */
20
21 #ifndef KONCLUDE_TEST_EVALUATION_CREASONEREVALUATIONGROUPREQUESTREASONERERRORANALYSER_H
22 #define KONCLUDE_TEST_EVALUATION_CREASONEREVALUATIONGROUPREQUESTREASONERERRORANALYSER_H
23
24 // Libraries includes
25 #include <QMap>
26 #include <QSet>
27 #include <QFile>
28 #include <QDir>
29
30 // Namespace includes
31 #include "EvaluationSettings.h"
32 #include "CReasonerEvaluationGNUPlotPlotter.h"
33 #include "CReasonerEvaluationHighchartPlotter.h"
34 #include "CReasonerEvaluationAnalyseContext.h"
35 #include "CReasonerEvaluationGroupRequestReasonerComparisonAnalyser.h"
36 #include "CReasonerEvaluationDataValueGroupCollectionReasonerComparison.h"
37 #include "CReasonerEvaluationDoubleDataValue.h"
38 #include "CReasonerEvaluationTableMultiFormatOutputWriter.h"
39 #include "CReasonerEvaluationStringListValue.h"
40
41
42 // Other includes
43 #include "Config/CConfiguration.h"
44
45 #include "Parser/COWLlinkQtXMLResultParser.h"
46
47
48 // Logger includes
49 #include "Logger/CLogger.h"
50
51
52
53 namespace Konclude {
54
55 using namespace Config;
56 using namespace Parser;
57
58 namespace Test {
59
60 namespace Evaluation {
61
62
63 /*!
64 *
65 * \class CReasonerEvaluationGroupRequestReasonerErrorAnalyser
66 * \author Andreas Steigmiller
67 * \version 0.1
68 * \brief TODO
69 *
70 */
71 class CReasonerEvaluationGroupRequestReasonerErrorAnalyser : public CReasonerEvaluationGroupRequestReasonerComparisonAnalyser {
72 // public methods
73 public:
74 //! Constructor
75 CReasonerEvaluationGroupRequestReasonerErrorAnalyser();
76
77 //! Destructor
78 virtual ~CReasonerEvaluationGroupRequestReasonerErrorAnalyser();
79
80
81
82
83 // protected methods
84 protected:
85 virtual bool analyseGroupedEvaluationData(const QStringList& groubList, const QStringList& requestList, const QStringList& reasonerList, const QString& outputDirectory, CReasonerEvaluationAnalyseContext* context, CReasonerEvaluationGroupRequestSelector* selector);
86
87 QString getPrettyTitleFromOutputFile(const QString& outputFile);
88
89
90 // protected variables
91 protected:
92 QString mOutputFileName;
93 COWLlinkQtXMLResultParser mResultParser;
94 QHash<QPair<CReasonerEvaluationStringListValue*,CReasonerEvaluationStringListValue*>,cint64> mCompareDiffCountHash;
95
96 // private methods
97 private:
98
99 // private variables
100 private:
101
102 };
103
104 }; // end namespace Evaluation
105
106 }; // end namespace Test
107
108 }; // end namespace Konclude
109
110 #endif // KONCLUDE_TEST_EVALUATION_CREASONEREVALUATIONGROUPREQUESTREASONERERRORANALYSER_H