Class PartialFunctionCallTerm<A extends AbstractValue<A,C>,C>
java.lang.Object
tools.refinery.logic.term.AbstractTerm<A>
tools.refinery.store.reasoning.literal.PartialFunctionCallTerm<A,C>
- All Implemented Interfaces:
AnyTerm
,Term<A>
,PartialTerm<A>
public class PartialFunctionCallTerm<A extends AbstractValue<A,C>,C>
extends AbstractTerm<A>
implements PartialTerm<A>
-
Constructor Summary
ConstructorsConstructorDescriptionPartialFunctionCallTerm
(ConcretenessSpecification concreteness, PartialFunction<A, C> partialFunction, List<NodeVariable> arguments) -
Method Summary
Modifier and TypeMethodDescriptionboolean
equalsWithSubstitution
(LiteralEqualityHelper helper, AnyTerm other) int
orElseConcreteness
(ConcretenessSpecification fallback) rewriteSubTerms
(TermRewriter termRewriter) substitute
(Substitution substitution) toString()
Methods inherited from class tools.refinery.logic.term.AbstractTerm
equals, getType, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface tools.refinery.logic.term.AnyTerm
asType, getInputVariables, getPrivateVariables
-
Constructor Details
-
PartialFunctionCallTerm
public PartialFunctionCallTerm(ConcretenessSpecification concreteness, PartialFunction<A, C> partialFunction, List<NodeVariable> arguments)
-
-
Method Details
-
getConcreteness
-
getPartialFunction
-
getArguments
-
evaluate
-
rewriteSubTerms
- Specified by:
rewriteSubTerms
in interfaceAnyTerm
- Specified by:
rewriteSubTerms
in interfaceTerm<A extends AbstractValue<A,
C>>
-
substitute
- Specified by:
substitute
in interfaceAnyTerm
- Specified by:
substitute
in interfaceTerm<A extends AbstractValue<A,
C>>
-
orElseConcreteness
- Specified by:
orElseConcreteness
in interfacePartialTerm<A extends AbstractValue<A,
C>>
-
getVariables
- Specified by:
getVariables
in interfaceAnyTerm
-
equalsWithSubstitution
- Specified by:
equalsWithSubstitution
in interfaceAnyTerm
- Overrides:
equalsWithSubstitution
in classAbstractTerm<A extends AbstractValue<A,
C>>
-
hashCodeWithSubstitution
- Specified by:
hashCodeWithSubstitution
in interfaceAnyTerm
- Overrides:
hashCodeWithSubstitution
in classAbstractTerm<A extends AbstractValue<A,
C>>
-
toString
-