Debian Codegraph @

Source/Reasoner/Answerer/CAnsweringManager.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_ANSWERER_CANSWERINGMANAGER_H
22 #define KONCLUDE_REASONER_ANSWERER_CANSWERINGMANAGER_H
23
24 // Libraries includes
25 #include <QLinkedList>
26
27 // Namespace includes
28 #include "AnswererSettings.h"
29 #include "CAnsweringMessageData.h"
30 #include "CAnsweringProgress.h"
31 #include "CAnsweringStatistics.h"
32
33
34 // Other includes
35 #include "Reasoner/Query/CComplexAnsweringQuery.h"
36
37 #include "Reasoner/Ontology/CConcreteOntology.h"
38
39
40
41 // Logger includes
42 #include "Logger/CLogger.h"
43 #include "Logger/CLogIdentifier.h"
44
45
46
47
48
49 namespace Konclude {
50
51 namespace Reasoner {
52
53 using namespace Query;
54 using namespace Ontology;
55
56 namespace Answerer {
57
58
59
60 /*!
61 *
62 * \class CAnsweringManager
63 * \author Andreas Steigmiller
64 * \version 0.1
65 * \brief TODO
66 *
67 */
68 class CAnsweringManager {
69 // public methods
70 public:
71 //! Constructor
72 CAnsweringManager();
73
74 //! Destructor
75 virtual ~CAnsweringManager();
76
77 virtual CAnsweringManager* answerComplexQuery(CComplexAnsweringQuery* complexAnsweringQuery, CCallbackData* callback = nullptr) = 0;
78
79 virtual CAnsweringProgress* getAnsweringProgress() = 0;
80
81 virtual CAnsweringStatistics* getAnsweringStatistics(CConcreteOntology* ontology) = 0;
82
83 virtual CAnsweringManager* prepareAnswering(CConcreteOntology* ontology, CCallbackData* callback = nullptr) = 0;
84
85 // protected methods
86 protected:
87
88 // protected variables
89 protected:
90
91
92 // private methods
93 private:
94
95 // private variables
96 private:
97
98 };
99
100 }; // end namespace Answerer
101
102 }; // end namespace Reasoner
103
104 }; // end namespace Konclude
105
106 #endif // KONCLUDE_REASONER_ANSWERER_CANSWERINGMANAGER_H