Debian Codegraph @

Source/Reasoner/Answerer/Composition/CAbstractVariableMappingsCompositionPropagationComputator.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_CABSTRACTVARIABLEMAPPINGSCOMPOSITIONPROPAGATIONCOMPUTATOR_H
22 #define KONCLUDE_REASONER_ANSWERER_COMPOSITION_CABSTRACTVARIABLEMAPPINGSCOMPOSITIONPROPAGATIONCOMPUTATOR_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "CompositionSettings.h"
29 #include "CAbstractVariableMappingsCompositionComputator.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/COptimizedComplexVariableRolePropagationAbstractItem.h"
38 #include "Reasoner/Answerer/CAnsweringMessageDataRequirementCompletedRealization.h"
39
40
41
42 // Logger includes
43 #include "Logger/CLogger.h"
44 #include "Logger/CLogIdentifier.h"
45
46
47
48
49
50 namespace Konclude {
51
52 namespace Reasoner {
53
54 namespace Answerer {
55
56 namespace Composition {
57
58
59 /*!
60 *
61 * \class CAbstractVariableMappingsCompositionPropagationComputator
62 * \author Andreas Steigmiller
63 * \version 0.1
64 * \brief TODO
65 *
66 */
67 class CAbstractVariableMappingsCompositionPropagationComputator : public CAbstractVariableMappingsCompositionComputator, public CLogIdentifier {
68 // public methods
69 public:
70 //! Constructor
71 CAbstractVariableMappingsCompositionPropagationComputator();
72
73
74 virtual CAbstractVariableMappingsCompositionComputator* configureComputator(COptimizedComplexExpressionOntologyAnsweringItem* ontoAnsweringItem, CAbstractVariableMappingsCompositionItemRequirementProcessor* reqProcessor, CAnswererContext* answererContext);
75 virtual CAbstractVariableMappingsCompositionPropagationComputator* computeVariableMappingsComposition(COptimizedComplexVariableCompositionItem* compVarItem, COptimizedComplexBuildingVariableCompositionsItem* buildingVarItem, CAnswererContext* answererContext, bool& processing);
76
77
78 // protected methods
79 protected:
80
81 virtual bool computeVariableMappingsPropagationComposition(COptimizedComplexVariableRolePropagationAbstractItem* propagationItem, COptimizedComplexBuildingIndividualVariableCompositionsItem* buildingVarItem, CAnswererContext* answererContext, bool& processing) = 0;
82
83
84 // protected variables
85 protected:
86
87 QString mComputerName;
88
89 cint64 mConfMappingsComputationUnlimitedInterpretationSize;
90 bool mConfExtendedLogging;
91
92 CRealizationIndividualSorting mRoleFillerRealizationSorting;
93
94 // private methods
95 private:
96
97 // private variables
98 private:
99
100 };
101
102 }; // end namespace Composition
103
104 }; // end namespace Answerer
105
106 }; // end namespace Reasoner
107
108 }; // end namespace Konclude
109
110 #endif // KONCLUDE_REASONER_ANSWERER_COMPOSITION_CABSTRACTVARIABLEMAPPINGSCOMPOSITIONPROPAGATIONCOMPUTATOR_H