Class OppositeRelationTranslator
java.lang.Object
tools.refinery.store.reasoning.translator.opposite.OppositeRelationTranslator
- All Implemented Interfaces:
ModelStoreConfiguration
,PartialRelationRewriter
public class OppositeRelationTranslator
extends Object
implements ModelStoreConfiguration, PartialRelationRewriter
-
Constructor Summary
ConstructorDescriptionOppositeRelationTranslator
(PartialRelation linkType, PartialRelation opposite) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ModelStoreBuilder storeBuilder) rewriteLiteral
(Set<Variable> positiveVariables, AbstractCallLiteral literal, Modality modality, Concreteness concreteness)
-
Constructor Details
-
OppositeRelationTranslator
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceModelStoreConfiguration
-
rewriteLiteral
public List<Literal> rewriteLiteral(Set<Variable> positiveVariables, AbstractCallLiteral literal, Modality modality, Concreteness concreteness) - Specified by:
rewriteLiteral
in interfacePartialRelationRewriter
-