Debian Codegraph @

Kernel/OntologyBasedModularizer.h

raw symbols SCIP
1 /* This file is part of the FaCT++ DL reasoner
2 Copyright (C) 2012-2015 Dmitry Tsarkov and The University of Manchester
3 Copyright (C) 2015-2017 Dmitry Tsarkov
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20 #ifndef ONTOLOGYBASEDMODULARIZER_H
21 #define ONTOLOGYBASEDMODULARIZER_Hcxx . . $ `Kernel/OntologyBasedModularizer.h:21:9`!
22
23 #include "Modularity.h"cxx . . $ `<file>/Kernel/Modularity.h`/
24 #include "tOntology.h"cxx . . $ `<file>/Kernel/tOntology.h`/
25
26 class OntologyBasedModularizercxx . . $ OntologyBasedModularizer#
27 {
28 protected: // members
29 /// ontology to work with
30 const TOntologycxx . . $ TOntology#& Ontologycxx . . $ OntologyBasedModularizer#Ontology.;
31 /// pointer to a modularizer
32 TModularizercxx . . $ TModularizer#* Modularizercxx . . $ OntologyBasedModularizer#Modularizer.;
33
34 public: // interface
35 /// init c'tor
36 OntologyBasedModularizercxx . . $ OntologyBasedModularizer#OntologyBasedModularizer(9bfa6fadb4f4470e). ( const TOntologycxx . . $ TOntology#& ontology, ModuleMethodcxx . . $ ModuleMethod# moduleMethod )
37 : Ontologycxx . . $ OntologyBasedModularizer#Ontology.(ontology)
38 {
39 Modularizercxx . . $ OntologyBasedModularizer#Modularizer. = new TModularizercxx . . $ TModularizer#TModularizer(95217cfac156eddf).(moduleMethod);
40 Modularizercxx . . $ OntologyBasedModularizer#Modularizer.->preprocessOntologycxx . . $ TModularizer#preprocessOntology(b963b3dd7533a896).(Ontologycxx . . $ OntologyBasedModularizer#Ontology..getAxiomscxx . . $ TOntology#getAxioms(73e4577bb59fbb07).());
41 }
42 /// d'tor
43 ~cxx . . $ OntologyBasedModularizer#`~OntologyBasedModularizer`(49f6e7a06ebc5aa8).OntologyBasedModularizercxx . . $ OntologyBasedModularizer#() { delete Modularizercxx . . $ OntologyBasedModularizer#Modularizer.; }
44
45 /// get module
46 const AxiomVeccxx . . $ AxiomVec#& getModulecxx . . $ OntologyBasedModularizer#getModule(957af31c21801c69). ( const AxiomVeccxx . . $ AxiomVec#& From, const TSignaturecxx . . $ TSignature#& sig, ModuleTypecxx . . $ ModuleType# type )
47 {
48 Modularizercxx . . $ OntologyBasedModularizer#Modularizer.->extractcxx . . $ TModularizer#extract(8de34f3ef94cc7cc). ( From, sig, type );
49 return Modularizercxx . . $ OntologyBasedModularizer#Modularizer.->getModulecxx . . $ TModularizer#getModule(73e4577bb59fbb07).();
50 }
51 /// get module
52 const AxiomVeccxx . . $ AxiomVec#& getModulecxx . . $ OntologyBasedModularizer#getModule(775fbf5dddf430ba). ( const TSignaturecxx . . $ TSignature#& sig, ModuleTypecxx . . $ ModuleType# type )
53 { return getModulecxx . . $ OntologyBasedModularizer#getModule(957af31c21801c69). ( Ontologycxx . . $ OntologyBasedModularizer#Ontology..getAxiomscxx . . $ TOntology#getAxioms(73e4577bb59fbb07).(), sig, type ); }
54 /// get access to a modularizer
55 TModularizercxx . . $ TModularizer#* getModularizercxx . . $ OntologyBasedModularizer#getModularizer(22b3476e6945f8b5). ( void ) { return Modularizercxx . . $ OntologyBasedModularizer#Modularizer.; }
56 }; // OntologyBasedModularizer
57
58 #endif