Debian Codegraph @

Source/Reasoner/Realizer/CIndividualConceptInstanceTestingItem.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_REALIZER_CINDIVIDUALCONCEPTINSTANCETESTINGITEM_H
22 #define KONCLUDE_REASONER_REALIZER_CINDIVIDUALCONCEPTINSTANCETESTINGITEM_H
23
24 // Libraries includes
25 #include <QTime>
26
27 // Namespace includes
28 #include "RealizerSettings.h"
29 #include "CRealizingTestingItem.h"
30
31 // Other includes
32 #include "Reasoner/Kernel/Task/CSatisfiableTaskRealizationPossibleInstancesMergingAdapter.h"
33
34 // Logger includes
35 #include "Logger/CLogger.h"
36
37 #ifdef KONCLUDE_FORCE_ALL_DEBUG_DEACTIVATED
38
39 #define KONCLUCE_DEBUG_PRINTING_REALIZATION_CONCEPT_INSTANCE_TESTING_TIME(a) a
40
41 #else
42
43 #define KONCLUCE_DEBUG_PRINTING_REALIZATION_CONCEPT_INSTANCE_TESTING_TIME(a) a
44
45 #endif
46
47
48 namespace Konclude {
49
50 namespace Reasoner {
51
52 namespace Realizer {
53
54 using namespace Kernel::Task;
55
56
57 /*!
58 *
59 * \class CIndividualInstanceTestingItem
60 * \author Andreas Steigmiller
61 * \version 0.1
62 * \brief TODO
63 *
64 */
65 class CIndividualConceptInstanceTestingItem : public CRealizingTestingItem {
66 // public methods
67 public:
68 //! Constructor
69 CIndividualConceptInstanceTestingItem(COntologyRealizingItem* preproItem, COptimizedKPSetConceptInstancesItem* instancesItem, COptimizedKPSetIndividualItem* instantiatedItem, COntologyRealizingDynamicRequirmentProcessingData* procData = nullptr, CSatisfiableTaskRealizationPossibleInstancesMergingAdapter* possInstanceMergingDataAdapter = nullptr);
70 ~CIndividualConceptInstanceTestingItem();
71
72 virtual REALIZINGTESTINGTYPE getRealizingTestingType();
73
74 COptimizedKPSetConceptInstancesItem* getInstancesItem();
75 COptimizedKPSetIndividualItem* getInstantiatedItem();
76
77 CSatisfiableTaskRealizationPossibleInstancesMergingAdapter* getPossibleInstanceMergingDataAdapter();
78
79 KONCLUCE_DEBUG_PRINTING_REALIZATION_CONCEPT_INSTANCE_TESTING_TIME(QTime startTime;)
80
81 // protected methods
82 protected:
83
84 // protected variables
85 protected:
86 COntologyRealizingItem* mOntologyPreproItem;
87 COptimizedKPSetConceptInstancesItem* mInstancesItem;
88 COptimizedKPSetIndividualItem* mInstantiatedItem;
89 CSatisfiableTaskRealizationPossibleInstancesMergingAdapter* mPossInstanceMergingDataAdapter;
90
91
92 // private methods
93 private:
94
95 // private variables
96 private:
97
98 };
99
100 }; // end namespace Realizer
101
102 }; // end namespace Reasoner
103
104 }; // end namespace Konclude
105
106 #endif // KONCLUDE_REASONER_REALIZER_CINDIVIDUALCONCEPTINSTANCETESTINGITEM_H