Debian Codegraph @

Source/Reasoner/Realization/CRealizationIndividualInstanceItemReferenceIterator.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_REALIZATION_CREALIZATIONINDIVIDUALINSTANCEITEMREFERENCEITERATOR_H
22 #define KONCLUDE_REASONER_REALIZATION_CREALIZATIONINDIVIDUALINSTANCEITEMREFERENCEITERATOR_H
23
24 // Libraries includes
25
26 // Namespace includes
27 #include "RealizationSettings.h"
28 #include "CRealizationIndividualInstanceItemReference.h"
29 #include "CRealizationRemainingInstancesEstimation.h"
30 #include "CRealizationIndividualSorting.h"
31
32 // Other includes
33
34 // Logger includes
35 #include "Logger/CLogger.h"
36
37
38
39 namespace Konclude {
40
41 namespace Reasoner {
42
43 using namespace Ontology;
44
45 namespace Realization {
46
47 /*!
48 *
49 * \class CRealizationIndividualInstanceItemReferenceIterator
50 * \author Andreas Steigmiller
51 * \version 0.1
52 * \brief TODO
53 *
54 */
55 class CRealizationIndividualInstanceItemReferenceIterator {
56 // public methods
57 public:
58 //! Constructor
59 CRealizationIndividualInstanceItemReferenceIterator();
60 virtual ~CRealizationIndividualInstanceItemReferenceIterator();
61
62 virtual bool requiresInitialization() = 0;
63 virtual bool begin() = 0;
64
65
66 virtual bool atEnd() = 0;
67 virtual CRealizationRemainingInstancesEstimation remainingInstancesEstimation() = 0;
68
69 virtual bool moveNext() = 0;
70 virtual bool moveTo(const CRealizationIndividualInstanceItemReference& indiInstItemRef, bool moveOver = true) = 0;
71
72 virtual CRealizationIndividualInstanceItemReference currentIndividualInstanceItemReference() = 0;
73 virtual bool isCurrentInstancePossible() = 0;
74 virtual bool isCurrentInstanceCertain() = 0;
75
76 virtual CRealizationIndividualInstanceItemReferenceIterator* getCopy() = 0;
77
78 virtual CRealizationIndividualSorting getSorting() = 0;
79
80
81 // protected methods
82 protected:
83
84 // protected variables
85 protected:
86
87 // private methods
88 private:
89
90 // private variables
91 private:
92
93 };
94
95
96
97 }; // end namespace Realization
98
99 }; // end namespace Reasoner
100
101 }; // end namespace Konclude
102
103 #endif // KONCLUDE_REASONER_REALIZATION_CREALIZATIONINDIVIDUALINSTANCEITEMREFERENCEITERATOR_H