Debian Codegraph @

Source/Reasoner/Ontology/CDisjunctionBranchingStatistics.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_ONTOLOGY_CDISJUNCTIONBRANCHINGSTATISTICS_H
22 #define KONCLUDE_REASONER_ONTOLOGY_CDISJUNCTIONBRANCHINGSTATISTICS_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "OntologySettings.h"
29 #include "CBranchingStatistics.h"
30 #include "CDisjunctBranchingStatistics.h"
31
32
33 // Other includes
34
35
36 // Logger includes
37 #include "Logger/CLogger.h"
38
39
40
41 namespace Konclude {
42
43 namespace Reasoner {
44
45 namespace Ontology {
46
47 /*!
48 *
49 * \class CDisjunctionBranchingStatistics
50 * \author Andreas Steigmiller
51 * \version 0.1
52 * \brief TODO
53 *
54 */
55 class CDisjunctionBranchingStatistics : public CBranchingStatistics {
56 // public methods
57 public:
58 //! Constructor
59 CDisjunctionBranchingStatistics();
60
61 cint64 getExpandedCount();
62 cint64 getClashFullyInvolvedCount();
63 cint64 getClashPartiallyInvolvedCount();
64 cint64 getSatisfiableOccurrenceCount();
65
66 CDisjunctionBranchingStatistics* initDisjunctionBranchingStatistics();
67
68
69 CDisjunctionBranchingStatistics* setExpandedCount(cint64 count);
70 CDisjunctionBranchingStatistics* setClashFullyInvolvedCount(cint64 count);
71 CDisjunctionBranchingStatistics* setClashPartiallyInvolvedCount(cint64 count);
72 CDisjunctionBranchingStatistics* setSatisfiableOccurrenceCount(cint64 count);
73
74
75 CDisjunctionBranchingStatistics* incExpandedCount(cint64 incCount = 1);
76 CDisjunctionBranchingStatistics* incClashFullyInvolvedCount(cint64 incCount = 1);
77 CDisjunctionBranchingStatistics* incClashPartiallyInvolvedCount(cint64 incCount = 1);
78 CDisjunctionBranchingStatistics* incSatisfiableOccurrenceCount(cint64 incCount = 1);
79
80
81 CDisjunctBranchingStatistics* getDisjunctBranchingStatistics();
82 CDisjunctionBranchingStatistics* addDisjunctBranchingStatistics(CDisjunctBranchingStatistics* disjunctBranchingStatistics);
83 CDisjunctionBranchingStatistics* setDisjunctBranchingStatistics(CDisjunctBranchingStatistics* disjunctBranchingStatistics);
84
85 // protected methods
86 protected:
87
88 // protected variables
89 protected:
90
91 // private methods
92 private:
93
94 // private variables
95 private:
96
97 CDisjunctBranchingStatistics* mDisjunctBranchingStatistics;
98
99 cint64 mExpandedCount;
100 cint64 mClashesFullyInvolvedCount;
101 cint64 mClashesPartiallyInvolvedCount;
102 cint64 mSatisfiableOccurrenceCount;
103
104 };
105
106 }; // end namespace Ontology
107
108 }; // end namespace Reasoner
109
110 }; // end namespace Konclude
111
112 #endif // KONCLUDE_REASONER_ONTOLOGY_CDISJUNCTIONBRANCHINGSTATISTICS_H