Debian Codegraph @

Source/Reasoner/Answerer/CComplexConceptItemComputationProcess.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_CCOMPLEXCONCEPTITEMCOMPUTATIONPROCESS_H
22 #define KONCLUDE_REASONER_ANSWERER_CCOMPLEXCONCEPTITEMCOMPUTATIONPROCESS_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "AnswererSettings.h"
29 #include "CComplexConceptStepComputationProcess.h"
30 #include "CComplexConceptStepInstanceComputationProcess.h"
31
32
33
34 // Other includes
35
36
37
38 // Logger includes
39 #include "Logger/CLogger.h"
40
41
42 namespace Konclude {
43
44 namespace Reasoner {
45
46 namespace Answerer {
47
48
49 /*!
50 *
51 * \class CComplexConceptItemComputationProcess
52 * \author Andreas Steigmiller
53 * \version 0.1
54 * \brief TODO
55 *
56 */
57 class CComplexConceptItemComputationProcess {
58 // public methods
59 public:
60 //! Constructor
61 CComplexConceptItemComputationProcess();
62
63 ~CComplexConceptItemComputationProcess();
64
65
66 CComplexConceptStepComputationProcess* getSatisfiableClassNodesComputationProcess(bool create = true);
67 CComplexConceptStepComputationProcess* getSuperClassNodesComputationProcess(bool create = true);
68 CComplexConceptStepComputationProcess* getSubClassNodesComputationProcess(bool create = true);
69 CComplexConceptStepComputationProcess* getSubClassRealizationProcess(bool create = true);
70 CComplexConceptStepComputationProcess* getEquivalentClassNodesComputationProcess(bool create = true);
71 CComplexConceptStepInstanceComputationProcess* getInstancesComputationProcess(bool create = true);
72
73
74 CComplexConceptStepComputationProcess* getComputationProcess(ComplexConceptStepComputationProcessType computationType, bool create = true);
75
76
77 bool isComputationRequired(ComplexConceptStepComputationProcessType computationType);
78 bool isComputationFinished(ComplexConceptStepComputationProcessType computationType);
79 bool isComputationStarted(ComplexConceptStepComputationProcessType computationType);
80
81
82 CComplexConceptStepComputationProcess* getNextConceptStepComputationProcess(ComplexConceptStepComputationProcessType type, bool onlyRequired = true);
83 CComplexConceptStepComputationProcess* getNextConceptStepComputationProcess(CComplexConceptStepComputationProcess* step, bool onlyRequired = true);
84
85
86 // protected methods
87 protected:
88
89 // protected variables
90 protected:
91 CComplexConceptStepComputationProcess* mComputationProcessArray[COMPLEXCONCEPTSTEPCOMPUTATIONPROCESSTYPECOUNT];
92
93
94 // private methods
95 private:
96
97 // private variables
98 private:
99
100 };
101
102 }; // end namespace Answerer
103
104 }; // end namespace Reasoner
105
106 }; // end namespace Konclude
107
108 #endif // KONCLUDE_REASONER_ANSWERER_CCOMPLEXCONCEPTITEMCOMPUTATIONPROCESS_H