Debian Codegraph @

Source/Reasoner/Answerer/CAnsweringPropagationSteeringAbsorptionPropagationController.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_CANSWERINGPROPAGATIONSTEERINGABSORPTIONPROPAGATIONCONTROLLER_H
22 #define KONCLUDE_REASONER_ANSWERER_CANSWERINGPROPAGATIONSTEERINGABSORPTIONPROPAGATIONCONTROLLER_H
23
24 // Libraries includes
25 #include <QLinkedList>
26
27 // Namespace includes
28 #include "AnswererSettings.h"
29 #include "CAnsweringMessageData.h"
30 #include "CAnsweringHandler.h"
31 #include "CAnsweringPropagationSteeringController.h"
32
33
34 // Other includes
35 #include "Reasoner/Query/CComplexAnsweringQuery.h"
36
37 #include "Utilities/Memory/CMemoryPool.h"
38
39
40 // Logger includes
41 #include "Logger/CLogger.h"
42 #include "Logger/CLogIdentifier.h"
43
44
45
46
47
48 namespace Konclude {
49
50 using namespace Utilities::Memory;
51
52 namespace Reasoner {
53
54 using namespace Query;
55
56 namespace Answerer {
57
58
59
60 /*!
61 *
62 * \class CAnsweringPropagationSteeringAbsorptionPropagationController
63 * \author Andreas Steigmiller
64 * \version 0.1
65 * \brief TODO
66 *
67 */
68 class CAnsweringPropagationSteeringAbsorptionPropagationController : public CAnsweringPropagationSteeringController {
69 // public methods
70 public:
71 //! Constructor
72 CAnsweringPropagationSteeringAbsorptionPropagationController(CVariable* var, cint64 indiModuloCount, cint64 indiModuloExp);
73
74 //! Destructor
75 virtual ~CAnsweringPropagationSteeringAbsorptionPropagationController();
76
77
78 virtual bool finalizeWithClashing();
79 virtual bool finalizeWithBindingExtraction();
80
81 virtual bool isPreparationBindingNominalIndividual(CVariable* variable, cint64 indiId);
82 virtual bool isPreparationBindingNominalIndividual(CVariable* variable, CIndividual* indi);
83 virtual bool isPreparationBindingAllIndividuals(CVariable* variable);
84
85 virtual bool isRestrictedTopPropagation(CConcept* concept);
86
87 // protected methods
88 protected:
89
90 // protected variables
91 protected:
92 CVariable* mVariable;
93 cint64 mIndiModuloCount;
94 cint64 mIndiModuloExp;
95
96
97 // private methods
98 private:
99
100 // private variables
101 private:
102
103 };
104
105 }; // end namespace Answerer
106
107 }; // end namespace Reasoner
108
109 }; // end namespace Konclude
110
111 #endif // KONCLUDE_REASONER_ANSWERER_CANSWERINGPROPAGATIONSTEERINGABSORPTIONPROPAGATIONCONTROLLER_H