Debian Codegraph @

Source/Reasoner/Answerer/Composition/CSequentialVariableMappingsCompositionPropagationComputator.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_COMPOSITION_CSEQUENTIALVARIABLEMAPPINGSCOMPOSITIONPROPAGATIONCOMPUTATOR_H
22 #define KONCLUDE_REASONER_ANSWERER_COMPOSITION_CSEQUENTIALVARIABLEMAPPINGSCOMPOSITIONPROPAGATIONCOMPUTATOR_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "CompositionSettings.h"
29 #include "CAbstractVariableMappingsCompositionPropagationComputator.h"
30
31
32 // Other includes
33 #include "Reasoner/Answerer/COptimizedComplexVariableIndividualMappings.h"
34 #include "Reasoner/Answerer/COptimizedComplexVariableJoiningItem.h"
35 #include "Reasoner/Answerer/COptimizedComplexBuildingIndividualVariableCompositionsItem.h"
36 #include "Reasoner/Answerer/CAnswererContext.h"
37 #include "Reasoner/Answerer/COptimizedComplexVariableRolePropagationJoiningItem.h"
38 #include "Reasoner/Answerer/COptimizedComplexVariableRolePropagationReplacementItem.h"
39
40
41
42 #include "Reasoner/Ontology/COntologyProcessingIteratorRealizationRequirement.h"
43
44
45 // Logger includes
46 #include "Logger/CLogger.h"
47 #include "Logger/CLogIdentifier.h"
48
49
50
51
52
53 namespace Konclude {
54
55 namespace Reasoner {
56
57 using namespace Ontology;
58
59 namespace Answerer {
60
61 namespace Composition {
62
63
64 /*!
65 *
66 * \class CSequentialVariableMappingsCompositionPropagationComputator
67 * \author Andreas Steigmiller
68 * \version 0.1
69 * \brief TODO
70 *
71 */
72 class CSequentialVariableMappingsCompositionPropagationComputator : public CAbstractVariableMappingsCompositionPropagationComputator {
73 // public methods
74 public:
75 //! Constructor
76 CSequentialVariableMappingsCompositionPropagationComputator();
77
78
79 virtual CAbstractVariableMappingsCompositionComputator* configureComputator(COptimizedComplexExpressionOntologyAnsweringItem* ontoAnsweringItem, CAbstractVariableMappingsCompositionItemRequirementProcessor* reqProcessor, CAnswererContext* answererContext);
80
81
82 // protected methods
83 protected:
84
85 virtual bool computeVariableMappingsPropagationComposition(COptimizedComplexVariableRolePropagationAbstractItem* propagationItem, COptimizedComplexBuildingIndividualVariableCompositionsItem* buildingVarItem, CAnswererContext* answererContext, bool& processing);
86
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 Composition
101
102 }; // end namespace Answerer
103
104 }; // end namespace Reasoner
105
106 }; // end namespace Konclude
107
108 #endif // KONCLUDE_REASONER_ANSWERER_COMPOSITION_CSEQUENTIALVARIABLEMAPPINGSCOMPOSITIONPROPAGATIONCOMPUTATOR_H