Debian Codegraph @

Source/Reasoner/Kernel/Manager/COntologyRequirementPreparingData.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_KERNEL_MANAGER_CONTOLOGYREQUIREMENTPREPARINGDATA_H
22 #define KONCLUDE_REASONER_KERNEL_MANAGER_CONTOLOGYREQUIREMENTPREPARINGDATA_H
23
24 // Libraries includes
25 #include <QReadWriteLock>
26 #include <QHash>
27
28 // Namespace includes
29 #include "ManagerSettings.h"
30 #include "COntologyRequirementPreparingData.h"
31
32 // Other includes
33 #include "Reasoner/Ontology/CConcreteOntology.h"
34 #include "Reasoner/Ontology/COntologyProcessingRequirement.h"
35 #include "Reasoner/Ontology/COntologyProcessingStepRequirement.h"
36 #include "Reasoner/Ontology/COntologyProcessingConceptSaturationRequirement.h"
37 #include "Reasoner/Ontology/COntologyProcessingDynamicRealizationRequirement.h"
38
39 #include "Reasoner/Query/CQuery.h"
40
41 #include "Concurrent/Callback/CCallbackData.h"
42
43
44 // Logger includes
45 #include "Logger/CLogger.h"
46
47
48
49 namespace Konclude {
50
51 using namespace Concurrent::Callback;
52
53 namespace Reasoner {
54
55 using namespace Query;
56 using namespace Ontology;
57
58 namespace Kernel {
59
60 namespace Manager {
61
62
63 /*!
64 *
65 * \class COntologyRequirementPreparingData
66 * \author Andreas Steigmiller
67 * \version 0.1
68 * \brief TODO
69 *
70 */
71 class COntologyRequirementPreparingData {
72 // public methods
73 public:
74 //! Constructor
75 COntologyRequirementPreparingData(CConcreteOntology* ontology);
76
77 virtual ~COntologyRequirementPreparingData();
78
79 COntologyRequirementPreparingData* addOntologyRequirement(COntologyProcessingRequirement* requirement);
80
81
82 bool mRequirementsProcessed;
83 CConcreteOntology* mOntology;
84 QList<COntologyProcessingRequirement*> mPreprocessorReqList;
85 QList<COntologyProcessingRequirement*> mPrecomputorReqList;
86 QList<COntologyProcessingRequirement*> mClassClassifierReqList;
87 QList<COntologyProcessingRequirement*> mObjectPropertyClassifierReqList;
88 QList<COntologyProcessingRequirement*> mDataPropertyClassifierReqList;
89 QList<COntologyProcessingRequirement*> mRealizerReqList;
90 QList<COntologyProcessingRequirement*> mAnswererReqList;
91
92 QList<COntologyProcessingRequirement*> mCheckingReqList;
93 QList<COntologyProcessingRequirement*> mFailedReqList;
94
95 QList<COntologyProcessingRequirement*> mAllReqList;
96
97
98 COntologyProcessingStep::PROCESSORTYPE mCheckingProcessorType;
99 QTime mCheckingTimer;
100
101 // protected methods
102 protected:
103
104 // protected variables
105 protected:
106
107 // private methods
108 private:
109
110 // private variables
111 private:
112
113 };
114
115 }; // end namespace Manager
116
117 }; // end namespace Kernel
118
119 }; // end namespace Reasoner
120
121 }; // end namespace Konclude
122
123 #endif // KONCLUDE_REASONER_KERNEL_MANAGER_CONTOLOGYREQUIREMENTPREPARINGDATA_H