Debian Codegraph @

Source/Reasoner/Query/CClassificationPremisingQuery.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_REASONER_QUERY_CCLASSIFICATIONPREMISINGQUERY_H
22 #define KONCLUDE_REASONER_QUERY_CCLASSIFICATIONPREMISINGQUERY_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "CQuery.h"
29
30
31 // Other includes
32 #include "Reasoner/Ontology/CConcreteOntology.h"
33 #include "Reasoner/Classification/CClassification.h"
34
35 #include "Config/CConfigurationBase.h"
36
37 // Logger includes
38 #include "Logger/CLogger.h"
39
40
41
42 namespace Konclude {
43
44 using namespace Config;
45
46 namespace Reasoner {
47
48 using namespace Ontology;
49 using namespace Classification;
50
51 namespace Query {
52
53 /*!
54 *
55 * \class CClassificationPremisingQuery
56 * \author Andreas Steigmiller
57 * \version 0.1
58 * \brief TODO
59 *
60 */
61 class CClassificationPremisingQuery : public CQuery {
62 // public methods
63 public:
64 //! Constructor
65 CClassificationPremisingQuery(CConcreteOntology* ontology, CConfigurationBase* configuration);
66
67 //! Destructor
68 virtual ~CClassificationPremisingQuery();
69
70 virtual CConcreteOntology* getOntology();
71 virtual CQueryResult* constructResult(CClassification* classificationData) = 0;
72 virtual CConfigurationBase* getConfiguration();
73
74 CClassificationPremisingQuery* setQueryStatistics(CQueryStatistics* stats);
75 virtual CQueryStatistics* getQueryStatistics();
76
77 bool isConceptClassificationRequired();
78 bool isObjectRoleClassificationRequired();
79 bool isDataRoleClassificationRequired();
80
81 // protected methods
82 protected:
83
84 // protected variables
85 protected:
86 CConcreteOntology* mOntology;
87 CConfigurationBase* mConfig;
88 CQueryStatistics* mQueryStats;
89
90 bool mRequiresConceptClassification;
91 bool mRequiresObjectRoleClassification;
92 bool mRequiresDataRoleClassification;
93
94 // private methods
95 private:
96
97 // private variables
98 private:
99
100 };
101
102 }; // end namespace Query
103
104 }; // end namespace Reasoner
105
106 }; // end namespace Konclude
107
108 #endif // KONCLUDE_REASONER_QUERY_CCLASSIFICATIONPREMISINGQUERY_H