Debian Codegraph @

Source/Reasoner/Kernel/Process/CLinkedRoleSaturationSuccessorData.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_KERNEL_PROCESS_CLINKEDROLESATURATIONSUCCESSORDATA_H
22 #define KONCLUDE_REASONER_KERNEL_PROCESS_CLINKEDROLESATURATIONSUCCESSORDATA_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "ProcessSettings.h"
29 #include "CProcessContext.h"
30 #include "CSaturationSuccessorData.h"
31 #include "CSaturationSuccessorExtensionData.h"
32
33
34 // Other includes
35 #include "Reasoner/Ontology/CRole.h"
36
37 #include "Utilities/Container/CLinker.h"
38
39 // Logger includes
40 #include "Logger/CLogger.h"
41
42
43 namespace Konclude {
44
45 using namespace Utilities;
46 using namespace Container;
47
48 namespace Reasoner {
49
50 using namespace Ontology;
51
52 namespace Kernel {
53
54 namespace Process {
55
56 /*!
57 *
58 * \class CLinkedRoleSaturationSuccessorData
59 * \author Andreas Steigmiller
60 * \version 0.1
61 * \brief TODO
62 *
63 */
64 class CLinkedRoleSaturationSuccessorData {
65 // public methods
66 public:
67 //! Constructor
68 CLinkedRoleSaturationSuccessorData(CProcessContext* context = nullptr);
69
70 CPROCESSMAP<cint64,CSaturationSuccessorData*>* getSuccessorNodeDataMap(bool create = true);
71 CSaturationSuccessorData* getLastSuccessorLinkData();
72 cint64 getSuccessorCount();
73 CSaturationSuccessorExtensionData* getSucessorExtensionData();
74
75 CPROCESSMAP<cint64,CSaturationSuccessorData*> mSuccNodeDataMap;
76 CSaturationSuccessorData* mLastLink;
77 cint64 mSuccCount;
78 CSaturationSuccessorExtensionData* mExtensionData;
79 bool mRoleALLConceptsProcessingQueued;
80 bool mRoleFUNCTIONALConceptsProcessingQueued;
81
82 bool mRoleFUNCTIONALConceptsQueuingRequired;
83 bool mRoleALLConceptsQueuingRequired;
84
85
86 // protected methods
87 protected:
88
89 // protected variables
90 protected:
91 CProcessContext* mContext;
92
93 // private methods
94 private:
95
96 // private variables
97 private:
98
99
100 };
101
102 }; // end namespace Process
103
104 }; // end namespace Kernel
105
106 }; // end namespace Reasoner
107
108 }; // end namespace Konclude
109
110 #endif // KONCLUDE_REASONER_KERNEL_PROCESS_CLINKEDROLESATURATIONSUCCESSORDATA_H