Debian Codegraph @

Source/Test/Evaluation/CReasonerEvaluationGroupRequestReasonerComparisonAnalyser.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_CREASONEREVALUATIONGROUPREQUESTREASONERCOMPARISONANALYSER_H
22 #define KONCLUDE_TEST_EVALUATION_CREASONEREVALUATIONGROUPREQUESTREASONERCOMPARISONANALYSER_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 "CReasonerEvaluationAnalyser.h"
33 #include "CReasonerEvaluationDataValueGroupCollectionReasonerComparison.h"
34 #include "CReasonerEvaluationAnalyseContext.h"
35 #include "CReasonerEvaluationGroupRequestSelector.h"
36
37
38 // Other includes
39 #include "Config/CConfiguration.h"
40
41 // Logger includes
42 #include "Logger/CLogger.h"
43
44
45
46 namespace Konclude {
47
48 using namespace Config;
49
50 namespace Test {
51
52 namespace Evaluation {
53
54
55 /*!
56 *
57 * \class CReasonerEvaluationGroupRequestReasonerComparisonAnalyser
58 * \author Andreas Steigmiller
59 * \version 0.1
60 * \brief TODO
61 *
62 */
63 class CReasonerEvaluationGroupRequestReasonerComparisonAnalyser : public CReasonerEvaluationAnalyser {
64 // public methods
65 public:
66 //! Constructor
67 CReasonerEvaluationGroupRequestReasonerComparisonAnalyser();
68
69 //! Destructor
70 virtual ~CReasonerEvaluationGroupRequestReasonerComparisonAnalyser();
71
72
73 CReasonerEvaluationAnalyser* analyseEvaluationData(CReasonerEvaluationDataValueGroupCollectionReasonerComparison* evaluationData, CReasonerEvaluationAnalyseContext* context, const QString& outputDirectory, CReasonerEvaluationGroupRequestSelector* selectors);
74
75
76
77 // protected methods
78 protected:
79 virtual bool analyseGroupedEvaluationData(const QStringList& groubList, const QStringList& requestList, const QStringList& reasonerList, const QString& outputDirectory, CReasonerEvaluationAnalyseContext* context, CReasonerEvaluationGroupRequestSelector* selector) = 0;
80 CReasonerEvaluationDataValue* getGroupRequestReasonerEvaluationData(const QString& groupName, const QString& requstName, const QString& reasonerName);
81 QSet<QString>* getGroupRequests(const QString& groupName);
82
83 // protected variables
84 protected:
85 QMap<QString,CReasonerEvaluationDataValueGroupCollection*>* mReasonerCollectionMap;
86 QHash<QString, QSet<QString>* > mGroupRequestSetHash;
87 QList< QSet<QString>* > mRequestSetContainer;
88
89
90 // private methods
91 private:
92
93 // private variables
94 private:
95
96 };
97
98 }; // end namespace Evaluation
99
100 }; // end namespace Test
101
102 }; // end namespace Konclude
103
104 #endif // KONCLUDE_TEST_EVALUATION_CREASONEREVALUATIONGROUPREQUESTREASONERCOMPARISONANALYSER_H