Debian Codegraph @

Source/Reasoner/Generator/CConcreteOntologyUpdateSeparateHashingCollectorBuilder.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_GENERATOR_CCONCRETEONTOLOGYUPDATESEPARATEHASHINGCOLLECTORBUILDER_H
22 #define KONCLUDE_REASONER_GENERATOR_CCONCRETEONTOLOGYUPDATESEPARATEHASHINGCOLLECTORBUILDER_H
23
24
25 // Libraries includes
26 #include <QListIterator>
27 #include <QHash>
28 #include <QString>
29 #include <QObject>
30
31 // Namespace includes
32 #include "CConcreteOntologyUpdateCollectorBuilder.h"
33 #include "CExpressionSplitter.h"
34 #include "CExpressionHasher.h"
35
36
37 // Other includes
38 #include "Reasoner/Ontology/CConcreteOntology.h"
39 #include "Reasoner/Ontology/CConcept.h"
40 #include "Reasoner/Ontology/CTBox.h"
41 #include "Reasoner/Ontology/CABox.h"
42 #include "Reasoner/Ontology/CRBox.h"
43 #include "Reasoner/Ontology/CAbbreviatedIRIName.h"
44 #include "Reasoner/Ontology/CIRIName.h"
45
46
47 #include "Utilities/CTrible.hpp"
48 #include "Utilities/CNegLinker.hpp"
49 #include "Utilities/CHashableIntConvertedNTuble.hpp"
50 #include "Utilities/CMemoryManager.hpp"
51 #include "Utilities/CDynamicExpandingMemoryManager.hpp"
52 #include "Utilities/Memory/CObjectAllocator.h"
53
54 #include "Parser/COntologyBuilder.h"
55
56 // Logger includes
57 #include "Logger/CLogger.h"
58
59
60
61
62
63 namespace Konclude {
64
65 using namespace Utilities;
66 using namespace Utilities::Memory;
67 using namespace Parser;
68
69 namespace Reasoner {
70
71 using namespace Ontology;
72
73 namespace Generator {
74
75 /*!
76 *
77 * \class CConcreteOntologyUpdateSeparateHashingCollectorBuilder
78 * \author Andreas Steigmiller
79 * \version 0.1
80 * \brief TODO
81 *
82 */
83 class CConcreteOntologyUpdateSeparateHashingCollectorBuilder : public CConcreteOntologyUpdateCollectorBuilder {
84 // public methods
85 public:
86 CConcreteOntologyUpdateSeparateHashingCollectorBuilder(CConcreteOntology* updateConcreteOntology);
87 virtual ~CConcreteOntologyUpdateSeparateHashingCollectorBuilder();
88
89
90
91 // protected functions
92 protected:
93 virtual CConcreteOntologyBuildDataUpdater* addHashedExpression(CBuildExpression* expression);
94 virtual CBuildExpression* getHashedExpression(CBuildExpression* expression);
95
96
97 // protected variables
98 protected:
99
100
101 CBUILDHASH<CExpressionHasher, CBuildExpression*> mSeparateExpressionBuildHash;
102
103
104 };
105
106 }; // end namespace Generator
107
108 }; // end namespace Reasoner
109
110 }; // end namespace Konclude
111
112 #endif // end KONCLUDE_REASONER_GENERATOR_CCONCRETEONTOLOGYUPDATESEPARATEHASHINGCOLLECTORBUILDER_H