Debian Codegraph @

Source/Reasoner/Query/CRealizationPremisingQuery.cpp

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 #include "CRealizationPremisingQuery.h"
22
23
24 namespace Konclude {
25
26 namespace Reasoner {
27
28 namespace Query {
29
30 CRealizationPremisingQuery::CRealizationPremisingQuery(CConcreteOntology* ontology, CConfigurationBase* configuration) {
31 mOntology = ontology;
32 mConfig = configuration;
33 mQueryStats = nullptr;
34 mRequiresSameIndividualRealisation = false;
35 mRequiresConceptRealisation = false;
36 mRequiresRoleRealisation = false;
37 mDynamicRealisation = false;
38 }
39
40 CRealizationPremisingQuery::~CRealizationPremisingQuery() {
41 delete mQueryStats;
42 }
43
44 CConcreteOntology* CRealizationPremisingQuery::getOntology() {
45 return mOntology;
46 }
47
48 CConfigurationBase* CRealizationPremisingQuery::getConfiguration() {
49 return mConfig;
50 }
51
52 CRealizationPremisingQuery* CRealizationPremisingQuery::setQueryStatistics(CQueryStatistics* stats) {
53 mQueryStats = stats;
54 return this;
55 }
56
57 CQueryStatistics* CRealizationPremisingQuery::getQueryStatistics() {
58 return mQueryStats;
59 }
60
61 bool CRealizationPremisingQuery::isConceptRealisationRequired() {
62 return mRequiresConceptRealisation;
63 }
64
65 bool CRealizationPremisingQuery::isRoleRealisationRequired() {
66 return mRequiresRoleRealisation;
67 }
68
69 bool CRealizationPremisingQuery::isSameIndividualRealisationRequired() {
70 return mRequiresSameIndividualRealisation;
71 }
72
73 bool CRealizationPremisingQuery::isDynamicRealisationRequired() {
74 return mDynamicRealisation;
75 }
76
77 COntologyProcessingDynamicRealizationRequirement* CRealizationPremisingQuery::getDynamicRealizationRequirement() {
78 return nullptr;
79 }
80
81
82
83 }; // end namespace Query
84
85 }; // end namespace Reasoner
86
87 }; // end namespace Konclude