Debian Codegraph @

Source/Reasoner/Classifier/CConfigDependedSubsumptionClassifierFactory.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_CLASSIFIER_CCONFIGDEPENDEDSUBSUMPTIONCLASSIFIERFACTORY_H
22 #define KONCLUDE_REASONER_CLASSIFIER_CCONFIGDEPENDEDSUBSUMPTIONCLASSIFIERFACTORY_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "ClassifierSettings.h"
29 #include "CSubsumptionClassifier.h"
30 #include "CSubsumptionClassifierFactory.h"
31 #include "COptimizedSubClassSubsumptionClassifierThread.h"
32 #include "COptimizedKPSetClassSubsumptionClassifierThread.h"
33 #include "COptimizedClassExtractedSaturationSubsumptionClassifierThread.h"
34 #include "CIncrementalKPSetClassSubsumptionClassifierThread.h"
35 #include "COptimizedKPSetRoleSubsumptionClassifierThread.h"
36
37 // Other includes
38 #include "Config/CConfigurationBase.h"
39 #include "Config/CConfigDataReader.h"
40
41 #include "Reasoner/Ontology/CConcreteOntology.h"
42
43 #include "Reasoner/Kernel/Manager/CReasonerManager.h"
44
45 // Logger includes
46 #include "Logger/CLogger.h"
47
48
49 namespace Konclude {
50
51 using namespace Config;
52
53 namespace Reasoner {
54
55 using namespace Ontology;
56 using namespace Kernel;
57 using namespace Manager;
58
59 namespace Classifier {
60
61
62 /*!
63 *
64 * \class CConfigDependedSubsumptionClassifierFactory
65 * \author Andreas Steigmiller
66 * \version 0.1
67 * \brief TODO
68 *
69 */
70 class CConfigDependedSubsumptionClassifierFactory : public CSubsumptionClassifierFactory {
71 // public methods
72 public:
73 //! Constructor
74 CConfigDependedSubsumptionClassifierFactory(CReasonerManager *reasonerManager);
75
76 //! Destructor
77 virtual ~CConfigDependedSubsumptionClassifierFactory();
78
79
80 virtual CSubsumptionClassifier *createClassifier(CConcreteOntology *ontology, CConfigurationBase *config);
81 virtual CSubsumptionClassifier *createBackgroundClassifier(CConcreteOntology *ontology, CConfigurationBase *config);
82
83 virtual CSubsumptionClassifier *getDataPropertyClassifier(CConcreteOntology *ontology, CConfigurationBase *config);
84 virtual CSubsumptionClassifier *getObjectPropertyClassifier(CConcreteOntology *ontology, CConfigurationBase *config);
85
86
87 // protected methods
88 protected:
89 bool isClassificationBySatisfiableCalculationSufficient(CConcreteOntology *ontology, CConfigurationBase *config);
90 bool isClassificationBySaturationCalculationSufficient(CConcreteOntology *ontology, CConfigurationBase *config);
91
92 // protected variables
93 protected:
94 CReasonerManager *reasonerMan;
95
96 // private methods
97 private:
98
99 // private variables
100 private:
101
102 };
103
104 }; // end namespace Classifier
105
106 }; // end namespace Reasoner
107
108 }; // end namespace Konclude
109
110 #endif // KONCLUDE_REASONER_CLASSIFIER_CCONFIGDEPENDEDSUBSUMPTIONCLASSIFIERFACTORY_H