Debian Codegraph @

Source/Test/Evaluation/CReasonerEvaluationGroupRequestReasonerResultCountingAnalyser.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_CREASONEREVALUATIONGROUPREQUESTREASONERRESULTCOUNTINGANALYSER_H
22 #define KONCLUDE_TEST_EVALUATION_CREASONEREVALUATIONGROUPREQUESTREASONERRESULTCOUNTINGANALYSER_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 #include "Parser/CSPARQLQtXMLResultParser.h"
47
48
49 // Logger includes
50 #include "Logger/CLogger.h"
51
52
53
54 namespace Konclude {
55
56 using namespace Config;
57 using namespace Parser;
58
59 namespace Test {
60
61 namespace Evaluation {
62
63
64 /*!
65 *
66 * \class CReasonerEvaluationGroupRequestReasonerResultCountingAnalyser
67 * \author Andreas Steigmiller
68 * \version 0.1
69 * \brief TODO
70 *
71 */
72 class CReasonerEvaluationGroupRequestReasonerResultCountingAnalyser : public CReasonerEvaluationGroupRequestReasonerComparisonAnalyser {
73 // public methods
74 public:
75 //! Constructor
76 CReasonerEvaluationGroupRequestReasonerResultCountingAnalyser();
77
78 //! Destructor
79 virtual ~CReasonerEvaluationGroupRequestReasonerResultCountingAnalyser();
80
81
82
83
84 // protected methods
85 protected:
86 virtual bool analyseGroupedEvaluationData(const QStringList& groubList, const QStringList& requestList, const QStringList& reasonerList, const QString& outputDirectory, CReasonerEvaluationAnalyseContext* context, CReasonerEvaluationGroupRequestSelector* selector);
87
88 QString getPrettyTitleFromOutputFile(const QString& outputFile);
89
90 cint64 getResultCount(const QString& groupString, const QString& requestString, const QString& reasonerString, CReasonerEvaluationStringListValue* stringListDataValue, const QStringList& reasonerList, const QString& detailedReportingOutputDirectory);
91
92
93 // protected variables
94 protected:
95 QString mOutputFileName;
96 CSPARQLQtXMLResultParser mSPARQLResultParser;
97
98 // private methods
99 private:
100
101 // private variables
102 private:
103
104 };
105
106 }; // end namespace Evaluation
107
108 }; // end namespace Test
109
110 }; // end namespace Konclude
111
112 #endif // KONCLUDE_TEST_EVALUATION_CREASONEREVALUATIONGROUPREQUESTREASONERRESULTCOUNTINGANALYSER_H