Debian Codegraph @

Source/Reasoner/Ontology/CConceptProcessData.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_ONTOLOGY_CCONCEPTPROCESSDATA_H
22 #define KONCLUDE_REASONER_ONTOLOGY_CCONCEPTPROCESSDATA_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "OntologySettings.h"
29 #include "CConceptData.h"
30 #include "CUnsatisfiableCachingTags.h"
31 #include "CConceptRoleBranchingTrigger.h"
32 #include "CConceptReferenceLinking.h"
33 #include "CReplacementData.h"
34 #include "CBranchingStatistics.h"
35
36
37 // Other includes
38
39
40
41 // Logger includes
42 #include "Logger/CLogger.h"
43
44
45
46 namespace Konclude {
47
48 namespace Reasoner {
49
50 namespace Ontology {
51
52
53 /*!
54 *
55 * \class CConceptProcessData
56 * \author Andreas Steigmiller
57 * \version 0.1
58 * \brief TODO
59 *
60 */
61 class CConceptProcessData : public CConceptData {
62 // public methods
63 public:
64 //! Constructor
65 CConceptProcessData();
66
67 CConceptProcessData* initConceptProcessExtensionData(CConceptRoleBranchingTrigger* conceptRoleBranchTrigger, CReplacementData* replacementData);
68
69
70 CConceptRoleBranchingTrigger* getConceptRoleBranchTrigger();
71 bool hasConceptRoleBranchTrigger();
72 CConceptProcessData* setConceptRoleBranchTrigger(CConceptRoleBranchingTrigger* conceptRoleBranchTrigger);
73
74
75 CUnsatisfiableCachingTags* getUnsatisfiableCachingTags(bool conceptNegation);
76
77 bool hasUnsatisfiableCachingTags(bool conceptNegation);
78
79
80 CConceptProcessData* setUnsatisfiableCachingTags(bool conceptNegation, CUnsatisfiableCachingTags* tags);
81
82
83 CReplacementData* getReplacementData();
84 CConceptProcessData* setReplacementData(CReplacementData* replacementData);
85
86 CConceptReferenceLinking* getConceptReferenceLinking();
87 CConceptProcessData* setConceptReferenceLinking(CConceptReferenceLinking* refLinking);
88
89 bool isInvalidatedReferenceLinking();
90 CConceptProcessData* setInvalidatedReferenceLinking(bool invalidatedReferenceLinking);
91
92 bool isCoreBlockingConcept(bool negated);
93 CConceptProcessData* setCoreBlockingConcept(bool negated, bool coreBlockingConcept = true);
94
95 bool hasPropagationIntoCreationDirection();
96 CConceptProcessData* setPropagationIntoCreationDirection(bool propagationIntoCreationDirection);
97
98 bool hasInferRelevantFlag();
99 CConceptProcessData* setInferRelevantFlag(bool flag);
100
101 CBranchingStatistics* getBranchingStatistics();
102 CConceptProcessData* setBranchingStatistics(CBranchingStatistics* branchingStatistics);
103
104
105 // protected methods
106 protected:
107
108 // protected variables
109 protected:
110 CConceptRoleBranchingTrigger* mConceptRoleBranchTrigger;
111 CReplacementData* mReplacementData;
112 CUnsatisfiableCachingTags* mUnsatCachingTags[2];
113 CConceptReferenceLinking* mRefLinking;
114 bool mInvalidatedRefLinking;
115 bool mPropagationIntoCreationDirection;
116 bool mInferRelevantFlag;
117 bool mCoreConceptFlags[2];
118 CBranchingStatistics* mBranchingStatistics;
119
120 // private methods
121 private:
122
123 // private variables
124 private:
125
126 };
127
128
129 }; // end namespace Ontology
130
131 }; // end namespace Reasoner
132
133 }; // end namespace Konclude
134
135 #endif // KONCLUDE_REASONER_ONTOLOGY_CCONCEPTPROCESSDATA_H