Debian Codegraph @

Source/Reasoner/Kernel/Algorithm/CSatisfiableTaskPropertyClassificationMessageAnalyser.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_ALGORITHM_CSATISFIABLETASKPROPERTYCLASSIFICATIONMESSAGEANALYSER_H
22 #define KONCLUDE_REASONER_KERNEL_ALGORITHM_CSATISFIABLETASKPROPERTYCLASSIFICATIONMESSAGEANALYSER_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "CCalculationAlgorithmContext.h"
29
30 // Other includes
31 #include "Context/CContextBase.h"
32
33 #include "Reasoner/Classifier/CClassificationMessageDataObserver.h"
34 #include "Reasoner/Classifier/CClassificationPropertySubsumptionMessageData.h"
35 #include "Reasoner/Classifier/CClassificationInitializePossiblePropertySubsumptionData.h"
36 #include "Reasoner/Classifier/CClassificationInitializePossiblePropertySubsumptionMessageData.h"
37 #include "Reasoner/Classifier/CClassificationMessageData.h"
38
39 #include "Reasoner/Kernel/Task/CSatisfiableCalculationTask.h"
40
41 #include "Reasoner/Kernel/Process/Dependency/CDependencyTrackPoint.h"
42 #include "Reasoner/Kernel/Process/Dependency/CDependencyNode.h"
43 #include "Reasoner/Kernel/Process/CIndividualProcessNode.h"
44 #include "Reasoner/Kernel/Process/CIndividualSaturationProcessNode.h"
45
46 #include "Reasoner/Ontology/CConceptProcessData.h"
47 #include "Reasoner/Ontology/CConceptSatisfiableReferenceLinkingData.h"
48 #include "Reasoner/Ontology/CConceptSaturationReferenceLinkingData.h"
49
50 // Logger includes
51 #include "Logger/CLogger.h"
52
53
54
55 namespace Konclude {
56
57 using namespace Context;
58
59 namespace Reasoner {
60
61 using namespace Consistiser;
62 using namespace Classifier;
63 using namespace Ontology;
64
65 namespace Kernel {
66
67 using namespace Task;
68 using namespace Process::Dependency;
69
70 namespace Algorithm {
71
72 /*!
73 *
74 * \class CSatisfiableTaskPropertyClassificationMessageAnalyser
75 * \author Andreas Steigmiller
76 * \version 0.1
77 * \brief TODO
78 *
79 */
80 class CSatisfiableTaskPropertyClassificationMessageAnalyser {
81 // public methods
82 public:
83 //! Constructor
84 CSatisfiableTaskPropertyClassificationMessageAnalyser();
85
86 bool readCalculationConfig(CCalculationConfigurationExtension *config);
87 bool analyseSatisfiableTask(CSatisfiableCalculationTask* statCalcTask, CCalculationAlgorithmContext* calcAlgContext);
88
89 CIndividualProcessNode* getCorrectedIndividualID(CIndividualProcessNode* baseIndiNode, CIndividualProcessNodeVector* indiNodeVec, bool* nondetMergedFlag);
90
91
92
93 // protected methods
94 protected:
95 CClassificationMessageData* extractPossibleSubsumptionInformation(CRole* testingRole, CIndividualProcessNode* indiNode, CReapplyConceptLabelSet* conSet, CCalculationAlgorithmContext* calcAlgContext);
96
97 // protected variables
98 protected:
99
100
101 CTaskMemoryPoolAllocationManager* mTempMemAllocMan;
102 CContextBase* mTmpContext;
103 CSatisfiableCalculationTask* mStatCalcTask;
104
105
106
107
108
109 // private methods
110 private:
111
112 // private variables
113 private:
114
115 };
116
117 }; // end namespace Algorithm
118
119 }; // end namespace Kernel
120
121 }; // end namespace Reasoner
122
123 }; // end namespace Konclude
124
125 #endif // KONCLUDE_REASONER_KERNEL_ALGORITHM_CSATISFIABLETASKPROPERTYCLASSIFICATIONMESSAGEANALYSER_H