Debian Codegraph @

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