Debian Codegraph @

Source/Reasoner/Kernel/Cache/CSaturationNodeAssociatedExpansionCacheExpansionWriteData.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_CACHE_CSATURATIONNODEASSOCIATEDEXPANSIONCACHEEXPANSIONWRITEDATA_H
22 #define KONCLUDE_REASONER_KERNEL_CACHE_CSATURATIONNODEASSOCIATEDEXPANSIONCACHEEXPANSIONWRITEDATA_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "CacheSettings.h"
29 #include "CSaturationNodeAssociatedExpansionCacheWriteData.h"
30 #include "CSaturationNodeAssociatedConceptLinker.h"
31 #include "CSaturationNodeAssociatedDependentNominalSet.h"
32
33
34 // Other includes
35 #include "Utilities/Memory/CMemoryPool.h"
36 #include "Utilities/Container/CLinker.h"
37
38 #include "Reasoner/Kernel/Process/CIndividualSaturationProcessNode.h"
39
40
41 // Logger includes
42 #include "Logger/CLogger.h"
43
44
45 namespace Konclude {
46
47 using namespace Utilities::Memory;
48 using namespace Utilities::Container;
49
50 namespace Reasoner {
51
52 namespace Kernel {
53
54 using namespace Process;
55
56 namespace Cache {
57
58
59 /*!
60 *
61 * \class CSaturationNodeAssociatedExpansionCacheExpansionWriteData
62 * \author Andreas Steigmiller
63 * \version 0.1
64 * \brief TODO
65 *
66 */
67 class CSaturationNodeAssociatedExpansionCacheExpansionWriteData : public CSaturationNodeAssociatedExpansionCacheWriteData {
68 // public methods
69 public:
70 //! Constructor
71 CSaturationNodeAssociatedExpansionCacheExpansionWriteData();
72
73 CSaturationNodeAssociatedExpansionCacheExpansionWriteData* initExpansionWriteData(CIndividualSaturationProcessNode* saturationNode, CSaturationNodeAssociatedConceptLinker* conLinker);
74
75 CIndividualSaturationProcessNode* getSaturationIndividualNode();
76
77 CSaturationNodeAssociatedDependentNominalSet* getDependentNominalSet();
78 CSaturationNodeAssociatedExpansionCacheExpansionWriteData* setDependentNominalSet(CSaturationNodeAssociatedDependentNominalSet* depNomSet);
79
80
81 CSaturationNodeAssociatedConceptLinker* getExpansionConceptLinker();
82 bool hasTightAtMostRestriction();
83 CSaturationNodeAssociatedExpansionCacheExpansionWriteData* setTightAtMostRestriction(bool tightAtMostRestriction);
84
85
86 bool isDeterministicExpansion();
87 CSaturationNodeAssociatedExpansionCacheExpansionWriteData* setDeterministicExpansion(bool detExpansion);
88
89 bool requiresNondeterministicExpansion();
90 CSaturationNodeAssociatedExpansionCacheExpansionWriteData* setRequiresNondeterministicExpansion(bool requiresnondetExpansion);
91
92 cint64 getConceptSetSignature();
93 CSaturationNodeAssociatedExpansionCacheExpansionWriteData* setConceptSetSignature(cint64 signature);
94
95 cint64 getTotalConceptCount();
96 CSaturationNodeAssociatedExpansionCacheExpansionWriteData* setTotalConceptCount(cint64 conceptCount);
97
98 // protected methods
99 protected:
100
101 // protected variables
102 protected:
103 CIndividualSaturationProcessNode* mSaturationNode;
104 bool mTightAtMostRestriction;
105 bool mDeterministicExpansion;
106
107 bool mRequiresNondeterministicExpansion;
108 cint64 mConceptSetSignature;
109 cint64 mTotalConceptCount;
110
111 CSaturationNodeAssociatedDependentNominalSet* mDependentNominalSet;
112 CSaturationNodeAssociatedConceptLinker* mExpansionConceptLinker;
113
114
115
116 // private methods
117 private:
118
119 // private variables
120 private:
121
122
123 };
124
125 }; // end namespace Cache
126
127 }; // end namespace Kernel
128
129 }; // end namespace Reasoner
130
131 }; // end namespace Konclude
132
133 #endif // KONCLUDE_REASONER_KERNEL_CACHE_CSATURATIONNODEASSOCIATEDEXPANSIONCACHEEXPANSIONWRITEDATA_H