Debian Codegraph @

Source/Reasoner/Kernel/Manager/CReasonerManager.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_CREASONERMANAGER_H
22 #define KONCLUDE_REASONER_KERNEL_MANAGER_CREASONERMANAGER_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "ManagerSettings.h"
29
30
31 // Other includes
32 #include "Reasoner/Kernel/Calculation/CCalculationManager.h"
33
34 #include "Reasoner/Query/CQuery.h"
35 #include "Reasoner/Query/CSatisfiableCalculationJob.h"
36 #include "Reasoner/Query/CJobSatisfiableResult.h"
37
38 #include "Reasoner/Kernel/Cache/CUnsatisfiableCache.h"
39 #include "Reasoner/Kernel/Cache/CSatisfiableCache.h"
40 #include "Reasoner/Kernel/Cache/CCompletionGraphCache.h"
41 #include "Reasoner/Kernel/Cache/CBackendCache.h"
42 #include "Reasoner/Kernel/Cache/CSaturationCache.h"
43
44 #include "Config/CConfigurationProvider.h"
45
46
47 // Logger includes
48 #include "Logger/CLogger.h"
49
50
51
52 namespace Konclude {
53
54 using namespace Config;
55
56 namespace Reasoner {
57
58 using namespace Query;
59
60 namespace Kernel {
61
62 using namespace Cache;
63 using namespace Task;
64 using namespace Calculation;
65
66 namespace Manager {
67
68
69 /*!
70 *
71 * \class CReasonerManager
72 * \author Andreas Steigmiller
73 * \version 0.1
74 * \brief TODO
75 *
76 */
77 class CReasonerManager {
78 // public methods
79 public:
80 //! Constructor
81 CReasonerManager();
82
83 //! Destructor
84 virtual ~CReasonerManager();
85
86 virtual CReasonerManager* reasoningSatisfiableCalcualtionJob(CSatisfiableCalculationJob* satCalcJob, CCallbackData* callback) = 0;
87 virtual CJobSatisfiableResult* reasoningSatisfiableCalcualtionJob(CSatisfiableCalculationJob* satCalcJob) = 0;
88
89 virtual CReasonerManager* reasoningQuery(CQuery *query, CCallbackData *callback) = 0;
90 virtual CReasonerManager* reasoningQuery(CQuery *query) = 0;
91
92 virtual CReasonerManager* prepareOntology(CConcreteOntology* ontology, const QList<COntologyProcessingRequirement*>& reqList, CCallbackData *callback) = 0;
93 virtual CReasonerManager* prepareOntology(CConcreteOntology* ontology, const QList<COntologyProcessingRequirement*>& reqList) = 0;
94
95 virtual CUnsatisfiableCache *getUnsatisfiableCache() = 0;
96 virtual CCompletionGraphCache *getCompletionGraphCache() = 0;
97 virtual CBackendCache* getBackendAssociationCache() = 0;
98 virtual CSaturationCache* getSaturationAssociationExpansionCache() = 0;
99 virtual COccurrenceStatisticsCache* getOccurrenceStatisticsCache() = 0;
100
101 virtual CCalculationManager *getCalculationManager() = 0;
102 virtual CPrecomputationManager* getPrecomputationManager() = 0;
103
104 virtual CReasonerManager *initializeManager(CConfigurationProvider *configurationProvider) = 0;
105
106
107 // protected methods
108 protected:
109
110 // protected variables
111 protected:
112
113 // private methods
114 private:
115
116 // private variables
117 private:
118
119 };
120
121 }; // end namespace Manager
122
123 }; // end namespace Kernel
124
125 }; // end namespace Reasoner
126
127 }; // end namespace Konclude
128
129 #endif // KONCLUDE_REASONER_KERNEL_MANAGER_CREASONERMANAGER_H