| 1 | /* This file is part of the FaCT++ DL reasoner |
| 2 | Copyright (C) 2011-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 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 |
| 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 GENERALSYNTACTICLOCALITYCHECKER_H |
| 21 | #define GENERALSYNTACTICLOCALITYCHECKER_Hcxx . . $ `Kernel/GeneralSyntacticLocalityChecker.h:21:9`! |
| 22 | |
| 23 | #include "LocalityChecker.h"cxx . . $ `<file>/Kernel/LocalityChecker.h`/ |
| 24 | |
| 25 | /// syntactic locality checker for DL axioms |
| 26 | class GeneralSyntacticLocalityCheckercxx . . $ GeneralSyntacticLocalityChecker#: public LocalityCheckercxx . . $ LocalityChecker# |
| 27 | { |
| 28 | protected: // methods |
| 29 | /// @return true iff EXPR is top equivalent |
| 30 | virtual bool isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165). ( const TDLExpressioncxx . . $ TDLExpression#* expr ) = 0; |
| 31 | /// @return true iff EXPR is bottom equivalent |
| 32 | virtual bool isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165). ( const TDLExpressioncxx . . $ TDLExpression#* expr ) = 0; |
| 33 | |
| 34 | protected: // methods |
| 35 | /// processing method for all Equivalent axioms; @return true if axiom is local |
| 36 | template <typename Entity> |
| 37 | bool processEquivalentAxiomcxx . . $ GeneralSyntacticLocalityChecker#processEquivalentAxiom(bb05a65f99a0c443). ( const TDLNAryExpressioncxx . . $ TDLNAryExpression#<Entity>& axiom ) |
| 38 | { |
| 39 | // 1 element => local |
| 40 | if ( axiom.sizecxx . . $ TDLNAryExpression#size(fe4d2d262d4164a8).() <= 1 ) |
| 41 | return true; |
| 42 | // axiom is local iff all the elements are either top- or bot-local |
| 43 | typename TDLNAryExpressioncxx . . $ TDLNAryExpression#<Entity>::iterator p = axiom.begincxx . . $ TDLNAryExpression#begin(9e2439d61c0d1310).(), p_end = axiom.endcxx . . $ TDLNAryExpression#end(9e2439d61c0d1310).(); |
| 44 | if ( isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(*p) ) |
| 45 | { // all should be \bot-eq |
| 46 | while ( ++p != p_end ) |
| 47 | if ( !isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(*p) ) |
| 48 | return false; |
| 49 | } |
| 50 | else if ( isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(*p) ) |
| 51 | { // all should be \top-eq |
| 52 | while ( ++p != p_end ) |
| 53 | if ( !isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(*p) ) |
| 54 | return false; |
| 55 | } |
| 56 | else // neither \bot- no \top-eq: non-local |
| 57 | return false; |
| 58 | |
| 59 | // all elements have the same locality |
| 60 | return true; |
| 61 | } |
| 62 | /// processing method for all Disjoint axioms; @return true if axiom is local |
| 63 | template <typename Entity> |
| 64 | bool processDisjointAxiomcxx . . $ GeneralSyntacticLocalityChecker#processDisjointAxiom(bb05a65f99a0c443). ( const TDLNAryExpressioncxx . . $ TDLNAryExpression#<Entity>& axiom ) |
| 65 | { |
| 66 | // local iff at most 1 element is not bot-equiv |
| 67 | bool hasNBE = false; |
| 68 | for ( typename TDLNAryExpressioncxx . . $ TDLNAryExpression#<Entity>::iterator p = axiom.begincxx . . $ TDLNAryExpression#begin(9e2439d61c0d1310).(), p_end = axiom.endcxx . . $ TDLNAryExpression#end(9e2439d61c0d1310).(); p != p_end; ++p ) |
| 69 | if ( !isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(*p) ) |
| 70 | { |
| 71 | if ( hasNBE ) // already seen one non-bot-eq element |
| 72 | return false; // non-local |
| 73 | else // record that 1 non-bot-eq element was found |
| 74 | hasNBE = true; |
| 75 | } |
| 76 | return true; |
| 77 | } |
| 78 | |
| 79 | public: // interface |
| 80 | /// init c'tor |
| 81 | explicit GeneralSyntacticLocalityCheckercxx . . $ GeneralSyntacticLocalityChecker#GeneralSyntacticLocalityChecker(63821116a1afc694). ( const TSignaturecxx . . $ TSignature#* s ) : LocalityCheckercxx . . $ LocalityChecker#(s) {} |
| 82 | |
| 83 | public: // visitor interface |
| 84 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(d9d59c22ba059f26). ( const TDLAxiomDeclarationcxx . . $ TDLAxiomDeclaration#& ) override { isLocalcxx . . $ LocalityChecker#isLocal. = true; } |
| 85 | |
| 86 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(9ecff12220e47c40). ( const TDLAxiomEquivalentConceptscxx . . $ TDLAxiomEquivalentConcepts#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = processEquivalentAxiomcxx . . $ GeneralSyntacticLocalityChecker#processEquivalentAxiom(bb05a65f99a0c443).(axiom); } |
| 87 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(aa51a7285ba589ba). ( const TDLAxiomDisjointConceptscxx . . $ TDLAxiomDisjointConcepts#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = processDisjointAxiomcxx . . $ GeneralSyntacticLocalityChecker#processDisjointAxiom(bb05a65f99a0c443).(axiom); } |
| 88 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(402fe14fc3eb0067). ( const TDLAxiomDisjointUnioncxx . . $ TDLAxiomDisjointUnion#& axiom ) override |
| 89 | { |
| 90 | // DisjointUnion(A, C1,..., Cn) is local if |
| 91 | // (1) A and all of Ci are bot-equivalent, |
| 92 | // or (2) A and one Ci are top-equivalent and the remaining Cj are bot-equivalent |
| 93 | isLocalcxx . . $ LocalityChecker#isLocal. = false; |
| 94 | bool lhsIsTopEq; |
| 95 | if ( isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(axiom.getCcxx . . $ TDLAxiomDisjointUnion#getC(76ab2b9ad52d3e83).()) ) |
| 96 | lhsIsTopEq = true; // need to check (2) |
| 97 | else if ( isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getCcxx . . $ TDLAxiomDisjointUnion#getC(76ab2b9ad52d3e83).()) ) |
| 98 | lhsIsTopEq = false; // need to check (1) |
| 99 | else |
| 100 | return; // neither (1) nor (2) |
| 101 | |
| 102 | bool topEqDesc = false; |
| 103 | for ( const auto* arg : axiom ) |
| 104 | if ( !isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(arg) ) |
| 105 | { |
| 106 | if ( lhsIsTopEq && isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(arg) ) |
| 107 | { |
| 108 | if ( topEqDesc ) |
| 109 | return; // 2nd top in there -- violate (2) -- non-local |
| 110 | else |
| 111 | topEqDesc = true; |
| 112 | } |
| 113 | else // either (1) or fail to have a top-eq for (2) |
| 114 | return; |
| 115 | } |
| 116 | |
| 117 | // check whether for (2) we found a top-eq concept |
| 118 | if ( lhsIsTopEq && !topEqDesc ) |
| 119 | return; |
| 120 | |
| 121 | // it is local in the end! |
| 122 | isLocalcxx . . $ LocalityChecker#isLocal. = true; |
| 123 | } |
| 124 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(c0fc84e0a2be77f7). ( const TDLAxiomEquivalentORolescxx . . $ TDLAxiomEquivalentORoles#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = processEquivalentAxiomcxx . . $ GeneralSyntacticLocalityChecker#processEquivalentAxiom(bb05a65f99a0c443).(axiom); } |
| 125 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(c126fb3da66d6497). ( const TDLAxiomEquivalentDRolescxx . . $ TDLAxiomEquivalentDRoles#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = processEquivalentAxiomcxx . . $ GeneralSyntacticLocalityChecker#processEquivalentAxiom(bb05a65f99a0c443).(axiom); } |
| 126 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(9b4c04465f82a032). ( const TDLAxiomDisjointORolescxx . . $ TDLAxiomDisjointORoles#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = processDisjointAxiomcxx . . $ GeneralSyntacticLocalityChecker#processDisjointAxiom(bb05a65f99a0c443).(axiom); } |
| 127 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(f937f280b5be5d09). ( const TDLAxiomDisjointDRolescxx . . $ TDLAxiomDisjointDRoles#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = processDisjointAxiomcxx . . $ GeneralSyntacticLocalityChecker#processDisjointAxiom(bb05a65f99a0c443).(axiom); } |
| 128 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(d37f1d21cd25a5f3). ( const TDLAxiomSameIndividualscxx . . $ TDLAxiomSameIndividuals#& ) override { isLocalcxx . . $ LocalityChecker#isLocal. = false; } |
| 129 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(d0a24753794666b). ( const TDLAxiomDifferentIndividualscxx . . $ TDLAxiomDifferentIndividuals#& ) override { isLocalcxx . . $ LocalityChecker#isLocal. = false; } |
| 130 | /// FaCT++ extension: there is no such axiom in OWL API, but I hope nobody would use Fairness here |
| 131 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(8ec85f1c9f859b33). ( const TDLAxiomFairnessConstraintcxx . . $ TDLAxiomFairnessConstraint#& ) override { isLocalcxx . . $ LocalityChecker#isLocal. = true; } |
| 132 | |
| 133 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(dbfe2e7150e0dc38). ( const TDLAxiomRoleInversecxx . . $ TDLAxiomRoleInverse#& axiom ) override |
| 134 | { |
| 135 | isLocalcxx . . $ LocalityChecker#isLocal. = ( isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getRolecxx . . $ TDLAxiomSingleORole#getRole(b0a963b5b1b1e1ae).()) && isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getInvRolecxx . . $ TDLAxiomRoleInverse#getInvRole(b0a963b5b1b1e1ae).()) ) || |
| 136 | ( isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(axiom.getRolecxx . . $ TDLAxiomSingleORole#getRole(b0a963b5b1b1e1ae).()) && isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(axiom.getInvRolecxx . . $ TDLAxiomRoleInverse#getInvRole(b0a963b5b1b1e1ae).()) ); |
| 137 | } |
| 138 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(71a707b53d3a8b2f). ( const TDLAxiomORoleSubsumptioncxx . . $ TDLAxiomORoleSubsumption#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(axiom.getRolecxx . . $ TDLAxiomSingleORole#getRole(b0a963b5b1b1e1ae).()) || isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getSubRolecxx . . $ TDLAxiomORoleSubsumption#getSubRole(15ec025ea2d791ae).()); } |
| 139 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(20fca8e39bd7f9de). ( const TDLAxiomDRoleSubsumptioncxx . . $ TDLAxiomDRoleSubsumption#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(axiom.getRolecxx . . $ TDLAxiomSingleDRole#getRole(a81f3d9965bf170b).()) || isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getSubRolecxx . . $ TDLAxiomDRoleSubsumption#getSubRole(a81f3d9965bf170b).()); } |
| 140 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(b19917e065e373b0). ( const TDLAxiomORoleDomaincxx . . $ TDLAxiomORoleDomain#& axiom ) override |
| 141 | { isLocalcxx . . $ LocalityChecker#isLocal. = isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(axiom.getDomaincxx . . $ TDLAxiomORoleDomain#getDomain(76ab2b9ad52d3e83).()) || isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getRolecxx . . $ TDLAxiomSingleORole#getRole(b0a963b5b1b1e1ae).()); } |
| 142 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(6a89384f45b02cb7). ( const TDLAxiomDRoleDomaincxx . . $ TDLAxiomDRoleDomain#& axiom ) override |
| 143 | { isLocalcxx . . $ LocalityChecker#isLocal. = isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(axiom.getDomaincxx . . $ TDLAxiomDRoleDomain#getDomain(76ab2b9ad52d3e83).()) || isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getRolecxx . . $ TDLAxiomSingleDRole#getRole(a81f3d9965bf170b).()); } |
| 144 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(eef9ff8aad06e081). ( const TDLAxiomORoleRangecxx . . $ TDLAxiomORoleRange#& axiom ) override |
| 145 | { isLocalcxx . . $ LocalityChecker#isLocal. = isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(axiom.getRangecxx . . $ TDLAxiomORoleRange#getRange(76ab2b9ad52d3e83).()) || isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getRolecxx . . $ TDLAxiomSingleORole#getRole(b0a963b5b1b1e1ae).()); } |
| 146 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(da8dca8cacae49f9). ( const TDLAxiomDRoleRangecxx . . $ TDLAxiomDRoleRange#& axiom ) override |
| 147 | { isLocalcxx . . $ LocalityChecker#isLocal. = isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(axiom.getRangecxx . . $ TDLAxiomDRoleRange#getRange(8a5cd50e478c5d2c).()) || isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getRolecxx . . $ TDLAxiomSingleDRole#getRole(a81f3d9965bf170b).()); } |
| 148 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(e8585e86130514df). ( const TDLAxiomRoleTransitivecxx . . $ TDLAxiomRoleTransitive#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getRolecxx . . $ TDLAxiomSingleORole#getRole(b0a963b5b1b1e1ae).()) || isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(axiom.getRolecxx . . $ TDLAxiomSingleORole#getRole(b0a963b5b1b1e1ae).()); } |
| 149 | /// as BotRole is irreflexive, the only local axiom is topEquivalent(R) |
| 150 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(1555e5dd37550403). ( const TDLAxiomRoleReflexivecxx . . $ TDLAxiomRoleReflexive#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(axiom.getRolecxx . . $ TDLAxiomSingleORole#getRole(b0a963b5b1b1e1ae).()); } |
| 151 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(eabfd54a3bd95b2). ( const TDLAxiomRoleIrreflexivecxx . . $ TDLAxiomRoleIrreflexive#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getRolecxx . . $ TDLAxiomSingleORole#getRole(b0a963b5b1b1e1ae).()); } |
| 152 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(371dc479b720f66a). ( const TDLAxiomRoleSymmetriccxx . . $ TDLAxiomRoleSymmetric#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getRolecxx . . $ TDLAxiomSingleORole#getRole(b0a963b5b1b1e1ae).()) || isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(axiom.getRolecxx . . $ TDLAxiomSingleORole#getRole(b0a963b5b1b1e1ae).()); } |
| 153 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(2eab0e2ee768d6ea). ( const TDLAxiomRoleAsymmetriccxx . . $ TDLAxiomRoleAsymmetric#& ) override { isLocalcxx . . $ LocalityChecker#isLocal. = false; } |
| 154 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(1cb3074f4e7d0a89). ( const TDLAxiomORoleFunctionalcxx . . $ TDLAxiomORoleFunctional#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getRolecxx . . $ TDLAxiomSingleORole#getRole(b0a963b5b1b1e1ae).()); } |
| 155 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(4ed58748b443d4d). ( const TDLAxiomDRoleFunctionalcxx . . $ TDLAxiomDRoleFunctional#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getRolecxx . . $ TDLAxiomSingleDRole#getRole(a81f3d9965bf170b).()); } |
| 156 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(92d9880035cab613). ( const TDLAxiomRoleInverseFunctionalcxx . . $ TDLAxiomRoleInverseFunctional#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getRolecxx . . $ TDLAxiomSingleORole#getRole(b0a963b5b1b1e1ae).()); } |
| 157 | |
| 158 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(4415e73e741b43da). ( const TDLAxiomConceptInclusioncxx . . $ TDLAxiomConceptInclusion#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getSubCcxx . . $ TDLAxiomConceptInclusion#getSubC(76ab2b9ad52d3e83).()) || isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(axiom.getSupCcxx . . $ TDLAxiomConceptInclusion#getSupC(76ab2b9ad52d3e83).()); } |
| 159 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(ac53f03206c5ffd8). ( const TDLAxiomInstanceOfcxx . . $ TDLAxiomInstanceOf#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(axiom.getCcxx . . $ TDLAxiomInstanceOf#getC(76ab2b9ad52d3e83).()); } |
| 160 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(adefee3ba499aec2). ( const TDLAxiomRelatedTocxx . . $ TDLAxiomRelatedTo#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(axiom.getRelationcxx . . $ TDLAxiomRelatedTo#getRelation(b0a963b5b1b1e1ae).()); } |
| 161 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(8c7dc9507962ec65). ( const TDLAxiomRelatedToNotcxx . . $ TDLAxiomRelatedToNot#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getRelationcxx . . $ TDLAxiomRelatedToNot#getRelation(b0a963b5b1b1e1ae).()); } |
| 162 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(ff1a1ebde6ad8bad). ( const TDLAxiomValueOfcxx . . $ TDLAxiomValueOf#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = isTopEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isTopEquivalent(28aed0973b89a165).(axiom.getAttributecxx . . $ TDLAxiomValueOf#getAttribute(a81f3d9965bf170b).()); } |
| 163 | void visitcxx . . $ GeneralSyntacticLocalityChecker#visit(df12686069e02fa4). ( const TDLAxiomValueOfNotcxx . . $ TDLAxiomValueOfNot#& axiom ) override { isLocalcxx . . $ LocalityChecker#isLocal. = isBotEquivalentcxx . . $ GeneralSyntacticLocalityChecker#isBotEquivalent(28aed0973b89a165).(axiom.getAttributecxx . . $ TDLAxiomValueOfNot#getAttribute(a81f3d9965bf170b).()); } |
| 164 | }; // GeneralSyntacticLocalityChecker |
| 165 | |
| 166 | #endif |