Debian Codegraph @

Source/Reasoner/Classification/CClassConceptClassification.cpp

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 #include "CClassConceptClassification.h"
22
23
24 namespace Konclude {
25
26 namespace Reasoner {
27
28 namespace Classification {
29
30
31 CClassConceptClassification::CClassConceptClassification() {
32 mClassConceptTaxonomy = nullptr;
33 mStatsColl = nullptr;
34 mIndiDepTracking = nullptr;
35 mIndiDepTrackingSet = false;
36 }
37
38 CClassConceptClassification::~CClassConceptClassification() {
39 }
40
41
42 bool CClassConceptClassification::hasClassConceptTaxonomy() {
43 return mClassConceptTaxonomy != nullptr;
44 }
45
46 CTaxonomy* CClassConceptClassification::getClassConceptTaxonomy() {
47 return mClassConceptTaxonomy;
48 }
49
50 CClassConceptClassification* CClassConceptClassification::setClassConceptTaxonomy(CTaxonomy* taxonomy) {
51 mClassConceptTaxonomy = taxonomy;
52 return this;
53 }
54
55
56 bool CClassConceptClassification::hasClassificationStatistics() {
57 return mStatsColl != nullptr;
58 }
59
60 CClassificationStatistics* CClassConceptClassification::getClassificationStatistics() {
61 return mStatsColl;
62 }
63
64 CClassConceptClassification* CClassConceptClassification::setClassificationStatistics(CClassificationStatistics* statColl) {
65 mStatsColl = statColl;
66 return this;
67 }
68
69
70 bool CClassConceptClassification::hasDependentIndividualsTracking() {
71 return mIndiDepTracking != nullptr;
72 }
73
74 CIndividualDependenceTracking* CClassConceptClassification::getDependentIndividualsTracking() {
75 return mIndiDepTracking;
76 }
77
78 CClassConceptClassification* CClassConceptClassification::setDependentIndividualsTracking(CIndividualDependenceTracking* indiDepTracking) {
79 mIndiDepTracking = indiDepTracking;
80 mIndiDepTrackingSet = true;
81 return this;
82 }
83
84 bool CClassConceptClassification::isIndividualDependentTrackingSet() {
85 return mIndiDepTrackingSet;
86 }
87
88 }; // end namespace Classification
89
90 }; // end namespace Reasoner
91
92 }; // end namespace Konclude