Debian Codegraph @

Source/Reasoner/Kernel/Algorithm/CIncrementalCompletionGraphCompatibleExpansionHandler.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_ALGORITHM_CINCREMENTALCOMPLETIONGRAPHCOMPATIBLEEXPANSIONHANDLER_H
22 #define KONCLUDE_REASONER_KERNEL_ALGORITHM_CINCREMENTALCOMPLETIONGRAPHCOMPATIBLEEXPANSIONHANDLER_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "AlgorithmSettings.h"
29 #include "CCalculationAlgorithmContext.h"
30 #include "CClashDescriptorFactory.h"
31 #include "CTrackedClashedDescriptor.h"
32 #include "CCalculationAlgorithmContextBase.h"
33
34 // Other includes
35 #include "Reasoner/Kernel/Process/CIndividualProcessNode.h"
36 #include "Reasoner/Kernel/Process/CClashedDependencyDescriptor.h"
37 #include "Reasoner/Kernel/Process/CIndividualNodeSatisfiableExpandingCacheStoringData.h"
38
39 #include "Reasoner/Kernel/Process/Dependency/CDependencyTrackPoint.h"
40
41 #include "Reasoner/Kernel/Task/CConsistenceTaskData.h"
42
43 #include "Context/CContextBase.h"
44
45 // Logger includes
46 #include "Logger/CLogger.h"
47
48
49
50 namespace Konclude {
51
52 using namespace Context;
53
54 namespace Reasoner {
55
56 namespace Kernel {
57
58 using namespace Process;
59 using namespace Dependency;
60 using namespace Task;
61
62 namespace Algorithm {
63
64 /*!
65 *
66 * \class CIncrementalCompletionGraphCompatibleExpansionHandler
67 * \author Andreas Steigmiller
68 * \version 0.1
69 * \brief TODO
70 *
71 */
72 class CIncrementalCompletionGraphCompatibleExpansionHandler {
73 // public methods
74 public:
75 //! Constructor
76 CIncrementalCompletionGraphCompatibleExpansionHandler();
77
78 //! Destructor
79 virtual ~CIncrementalCompletionGraphCompatibleExpansionHandler();
80
81
82 CIndividualProcessNode* getPreviousDeterministicCompletionGraphCorrespondingIndividualNode(CIndividualProcessNode* individualNode, CCalculationAlgorithmContext* calcAlgContext);
83
84 bool isIndividualNodePreviousCompletionGraphCompatible(CIndividualProcessNode* individualNode, CCalculationAlgorithmContext* calcAlgContext);
85
86
87
88 CSatisfiableCalculationTask* getPreviousDeterministicCompletionGraphTask(CCalculationAlgorithmContext* calcAlgContext);
89 CSatisfiableCalculationTask* getPreviousNondeterministicCompletionGraphTask(CCalculationAlgorithmContext* calcAlgContext);
90
91 // protected methods
92 protected:
93
94
95
96 // protected variables
97 protected:
98 CSatisfiableCalculationTask* mPrevCompGraphCalcTask;
99 CIndividualProcessNodeVector* mPrevCompGraphProcNodeVec;
100
101 // private methods
102 private:
103
104 // private variables
105 private:
106
107 };
108
109 }; // end namespace Algorithm
110
111 }; // end namespace Kernel
112
113 }; // end namespace Reasoner
114
115 }; // end namespace Konclude
116
117 #endif // KONCLUDE_REASONER_KERNEL_ALGORITHM_CINCREMENTALCOMPLETIONGRAPHCOMPATIBLEEXPANSIONHANDLER_H