Debian Codegraph @

Source/Parser/Expressions/CEntailmentAxiomExpressionAssociation.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_PARSER_EXPRESSION_CEntailmentAxiomExpressionAssociation_H
22 #define KONCLUDE_PARSER_EXPRESSION_CEntailmentAxiomExpressionAssociation_H
23
24
25 // Libraries includes
26
27
28 // Namespace includes
29 #include "CAxiomExpression.h"
30 #include "CClassTermExpression.h"
31 #include "CObjectPropertyTermExpression.h"
32
33 // Other includes
34
35
36 // Logger includes
37 #include "Logger/CLogger.h"
38
39 using namespace Konclude::Logger;
40
41
42 namespace Konclude {
43
44 namespace Parser {
45
46 namespace Expression {
47
48 /*!
49 * \class CEntailmentAxiomExpressionAssociation
50 * \author Andreas Steigmiller
51 * \version 0.1
52 * \brief TODO
53 */
54 class CEntailmentAxiomExpressionAssociation {
55 // public methods
56 public:
57 enum ENTAILMENTAXIOMEXPRESSIONCONSTRUCTIONTYPE { EAECTCONCEPTSATISFIABILITY, EAECTAXIOMSPESIFIC };
58
59 //! Constructor
60 CEntailmentAxiomExpressionAssociation(CAxiomExpression* axiomExpression, ENTAILMENTAXIOMEXPRESSIONCONSTRUCTIONTYPE constructionType = EAECTCONCEPTSATISFIABILITY);
61
62 CClassTermExpression* takeNextConstructedTestClass();
63 bool hasNextConstructedTestClass();
64
65 CEXPRESSIONLIST<CClassTermExpression*>* getConstructedTestClasses();
66 CEntailmentAxiomExpressionAssociation* addConstructedTestClass(CClassTermExpression* conBuildExp);
67
68 bool hasNextConstructedTestObjectProperty();
69 CObjectPropertyTermExpression* takeNextConstructedTestObjectProperty();
70
71 CEXPRESSIONLIST<CObjectPropertyTermExpression*>* getConstructedTestObjectProperties();
72 CEntailmentAxiomExpressionAssociation* addConstructedTestObjectProperties(CObjectPropertyTermExpression* objPropBuildExp);
73
74 CAxiomExpression* getAxiomExpression();
75
76 ENTAILMENTAXIOMEXPRESSIONCONSTRUCTIONTYPE getConstructionType();
77 CEntailmentAxiomExpressionAssociation* setConstructionType(ENTAILMENTAXIOMEXPRESSIONCONSTRUCTIONTYPE constructionType);
78
79 // protected methods
80 protected:
81
82 // protected variables
83 protected:
84 ENTAILMENTAXIOMEXPRESSIONCONSTRUCTIONTYPE mConstructionType;
85 CAxiomExpression* mAxiomExpression;
86 CEXPRESSIONLIST<CClassTermExpression*> mConstructedClassExpList;
87 CEXPRESSIONLIST<CObjectPropertyTermExpression*> mConstructedObjPropExpList;
88
89 // private methods
90 private:
91
92 // private variables
93 private:
94
95 };
96
97 }; // end namespace Expression
98
99 }; // end namespace Parser
100
101 }; // end namespace Konclude
102
103 #endif // KONCLUDE_PARSER_EXPRESSION_CEntailmentAxiomExpressionAssociation_H