Debian Codegraph @

Source/Reasoner/Answerer/Composition/CQtConcurrentVariableMappingsCompositionPropagationRealizationSchedulingBatchLinkerVector.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_COMPOSITION_CQTCONCURRENTVARIABLEMAPPINGSCOMPOSITIONPROPAGATIONREALIZATIONSCHEDULINGBATCHLINKERVECTOR_H
22 #define KONCLUDE_REASONER_ANSWERER_COMPOSITION_CQTCONCURRENTVARIABLEMAPPINGSCOMPOSITIONPROPAGATIONREALIZATIONSCHEDULINGBATCHLINKERVECTOR_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "CompositionSettings.h"
29 #include "CQtConcurrentVariableMappingsCompositionBaseBatchLinkerVectorData.h"
30 #include "CQtConcurrentVariableMappingsCompositionBaseBatchLinkerVector.h"
31
32
33 // Other includes
34 #include "Reasoner/Answerer/COptimizedComplexVariableRolePropagationProcessingRealizationIteratorDataMemoryManaged.h"
35
36 #include "Utilities/Memory/CMemoryPoolContainer.h"
37 #include "Utilities/Memory/CMemoryPoolContainerAllocationManager.h"
38 #include "Utilities/Memory/CNewAllocationMemoryPoolProvider.h"
39 #include "Utilities/Memory/CObjectAllocator.h"
40
41 #include "Utilities/UtilitiesSettings.h"
42
43 #include "Context/CMemoryPoolNewAllocationIncreasingContext.h"
44 #include "Context/CMemoryPoolNewAllocationContext.h"
45
46 // Logger includes
47 #include "Logger/CLogger.h"
48 #include "Logger/CLogIdentifier.h"
49
50
51
52
53
54 namespace Konclude {
55
56 using namespace Context;
57 using namespace Utilities;
58 using namespace Utilities::Memory;
59
60 namespace Reasoner {
61
62 namespace Answerer {
63
64 namespace Composition {
65
66
67 /*!
68 *
69 * \class CQtConcurrentVariableMappingsCompositionPropagationRealizationSchedulingBatchLinkerVector
70 * \author Andreas Steigmiller
71 * \version 0.1
72 * \brief TODO
73 *
74 */
75 template<class T>
76 class CQtConcurrentVariableMappingsCompositionPropagationRealizationSchedulingBatchLinkerVector : public CQtConcurrentVariableMappingsCompositionBaseBatchLinkerVector<T> {
77 // public methods
78 public:
79 //! Constructor
80 CQtConcurrentVariableMappingsCompositionPropagationRealizationSchedulingBatchLinkerVector(cint64 size);
81 CQtConcurrentVariableMappingsCompositionPropagationRealizationSchedulingBatchLinkerVector();
82
83
84
85 CQtConcurrentVariableMappingsCompositionPropagationRealizationSchedulingBatchLinkerVector* addRealizationSchedulingIterationData(COptimizedComplexVariableRolePropagationProcessingRealizationIteratorDataMemoryManaged* iterationData);
86
87 CXLinker<COptimizedComplexVariableRolePropagationProcessingRealizationIteratorDataMemoryManaged*>* getFirstRealizationSchedulingIterationDataLinker() const;
88 CXLinker<COptimizedComplexVariableRolePropagationProcessingRealizationIteratorDataMemoryManaged*>* getLastRealizationSchedulingIterationDataLinker() const;
89
90
91 CQtConcurrentVariableMappingsCompositionPropagationRealizationSchedulingBatchLinkerVector* mergeRealizationSchedulingIterationDataLinkers(const CQtConcurrentVariableMappingsCompositionPropagationRealizationSchedulingBatchLinkerVector<T>& reduceVec);
92
93
94 // protected methods
95 protected:
96
97 // protected variables
98 protected:
99 CXLinker<COptimizedComplexVariableRolePropagationProcessingRealizationIteratorDataMemoryManaged*>* mFirstRealizationSchedulingIterationDataLinker;
100 CXLinker<COptimizedComplexVariableRolePropagationProcessingRealizationIteratorDataMemoryManaged*>* mLastRealizationSchedulingIterationDataLinker;
101
102
103 // private methods
104 private:
105
106 // private variables
107 private:
108
109 };
110
111 }; // end namespace Composition
112
113 }; // end namespace Answerer
114
115 }; // end namespace Reasoner
116
117 }; // end namespace Konclude
118
119 #include "CQtConcurrentVariableMappingsCompositionPropagationRealizationSchedulingBatchLinkerVector.cpp"
120
121 #endif // KONCLUDE_REASONER_ANSWERER_COMPOSITION_CQTCONCURRENTVARIABLEMAPPINGSCOMPOSITIONPROPAGATIONREALIZATIONSCHEDULINGBATCHLINKERVECTOR_H