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
ConstructorsConstructorDescriptionOppositeRelationTranslator
(PartialRelation linkType, PartialRelation opposite) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ModelStoreBuilder storeBuilder) rewriteLiteral
(Set<Variable> positiveVariables, AbstractCallLiteral literal, Modality modality, Concreteness concreteness) <T> Term
<T> rewriteTerm
(AbstractCallTerm<T> term, 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
-
rewriteTerm
public <T> Term<T> rewriteTerm(AbstractCallTerm<T> term, Modality modality, Concreteness concreteness) - Specified by:
rewriteTerm
in interfacePartialRelationRewriter
-