Debian Codegraph @

Source/Reasoner/Kernel/Cache/CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker.cpp

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 #include "CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker.h"
22
23
24 namespace Konclude {
25
26 namespace Reasoner {
27
28 namespace Kernel {
29
30 namespace Cache {
31
32 CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker::CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker() : CLinkerBase<CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker*, CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker>(this) {
33 }
34
35
36
37 CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker* CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker::initPropagationCutData(cint64 individualID, cint64 neighbourArrayIndex, cint64 neighbourPropagationCutCursor, CCacheValue conceptPropagationValue, cint64 associationUpdateId, CXLinker<cint64>* expandedIndividualIdsLinker, CCacheValue propMarkRoleValue) {
38 mAssociationUpdateId = associationUpdateId;
39 mIndividualID = individualID;
40 mExpandedIndividualIdsLinker = expandedIndividualIdsLinker;
41 mArrayIndex = neighbourArrayIndex;
42 mConceptPropagationValue = conceptPropagationValue;
43 mNeighbourPropagationCutCursor = neighbourPropagationCutCursor;
44 mPropMarkRoleValue = propMarkRoleValue;
45 mMissingNondeterministicExpansionPropagation = false;
46 return this;
47 }
48
49
50
51 cint64 CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker::getIndividualID() {
52 return mIndividualID;
53 }
54
55
56 cint64 CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker::getAssociationUpdateId() {
57 return mAssociationUpdateId;
58 }
59
60 CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker* CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker::setAssociationUpdateId(cint64 id) {
61 mAssociationUpdateId = id;
62 return this;
63 }
64
65 CXLinker<cint64>* CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker::getExpandedIndividualIdsLinker() {
66 return mExpandedIndividualIdsLinker;
67 }
68
69 cint64 CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker::getArrayIndex() {
70 return mArrayIndex;
71 }
72
73 CCacheValue CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker::getConceptPropagationValue() {
74 return mConceptPropagationValue;
75 }
76
77 cint64 CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker::getNeighbourPropagationCutCursor() {
78 return mNeighbourPropagationCutCursor;
79 }
80
81 CCacheValue CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker::getPropagationMarkingRoleValue() {
82 return mPropMarkRoleValue;
83 }
84
85 bool CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker::isMissingNondeterministicExpansionPropagation() {
86 return mMissingNondeterministicExpansionPropagation;
87 }
88
89 CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker* CBackendRepresentativeMemoryCacheTemporaryPropagationCutDataLinker::setMissingNondeterministicExpansionPropagation(bool missingProp) {
90 mMissingNondeterministicExpansionPropagation = missingProp;
91 return this;
92 }
93
94
95 }; // end namespace Cache
96
97 }; // end namespace Kernel
98
99 }; // end namespace Reasoner
100
101 }; // end namespace Konclude