Class SamePredicateNameCriteria
java.lang.Object
edu.upc.fib.inlab.imp.kse.logics.logicschema.services.comparator.SamePredicateNameCriteria
- All Implemented Interfaces:
DerivedOrdinaryLiteralHomomorphismCriteria
public class SamePredicateNameCriteria
extends Object
implements DerivedOrdinaryLiteralHomomorphismCriteria
Under this strategy, two ordinary literals are considered homomorphic if they have the same name,
and their terms are homomorphic.
This is even true when one of the literals is base, and the other is derived
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncomputeHomomorphismExtensionForDerivedOrdinaryLiteral
(HomomorphismFinder homomorphismFinder, Substitution currentSubstitution, OrdinaryLiteral domainLiteral, OrdinaryLiteral rangeLiteral)
-
Constructor Details
-
SamePredicateNameCriteria
public SamePredicateNameCriteria()
-
-
Method Details
-
computeHomomorphismExtensionForDerivedOrdinaryLiteral
public Optional<Substitution> computeHomomorphismExtensionForDerivedOrdinaryLiteral(HomomorphismFinder homomorphismFinder, Substitution currentSubstitution, OrdinaryLiteral domainLiteral, OrdinaryLiteral rangeLiteral) - Specified by:
computeHomomorphismExtensionForDerivedOrdinaryLiteral
in interfaceDerivedOrdinaryLiteralHomomorphismCriteria
-