Debian Codegraph @

Source/Reasoner/Consistiser/CDirectBlockedProcessingConsistiser.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_CONSISTISER_CDIRECTBLOCKEDPROCESSINGCONSISTISER_H
22 #define KONCLUDE_REASONER_CONSISTISER_CDIRECTBLOCKEDPROCESSINGCONSISTISER_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "ConsistiserSettings.h"
29 #include "CConsistiser.h"
30 #include "CConsistenceObserver.h"
31
32
33 // Other includes
34 #include "Reasoner/Ontology/CConcreteOntology.h"
35
36 #include "Reasoner/Generator/CSatisfiableCalculationJobGenerator.h"
37
38 #include "Control/Command/CConfigManagerReader.h"
39
40 #include "Reasoner/Kernel/Task/CTaskPreyingAdapter.h"
41
42 // Logger includes
43 #include "Logger/CLogger.h"
44
45
46 namespace Konclude {
47
48 using namespace Control::Command;
49
50 namespace Reasoner {
51
52 using namespace Ontology;
53 using namespace Generator;
54 using namespace Kernel::Task;
55
56 namespace Consistiser {
57
58
59 /*!
60 *
61 * \class CDirectBlockedProcessingConsistiser
62 * \author Andreas Steigmiller
63 * \version 0.1
64 * \brief TODO
65 *
66 */
67 class CDirectBlockedProcessingConsistiser : public CConsistiser, public CConsistenceObserver {
68 // public methods
69 public:
70 //! Constructor
71 CDirectBlockedProcessingConsistiser();
72
73 //! Destructor
74 virtual ~CDirectBlockedProcessingConsistiser();
75
76
77 virtual bool determineConsistency(CConcreteOntology* onto, CConfiguration *config);
78
79 virtual CConsistenceObserver* tellConsistenceData(CConsistenceData* consData);
80
81
82 // protected methods
83 protected:
84
85 // protected variables
86 protected:
87 CConsistence* mConsistence;
88 CTaskPreyingAdapter mConsAdapter;
89 QMutex mSynMutex;
90
91 // private methods
92 private:
93
94 // private variables
95 private:
96
97 };
98
99 }; // end namespace Consistiser
100
101 }; // end namespace Reasoner
102
103 }; // end namespace Konclude
104
105 #endif // KONCLUDE_REASONER_CONSISTISER_CDIRECTBLOCKEDPROCESSINGCONSISTISER_H