Class CallLiteral
java.lang.Object
tools.refinery.logic.literal.AbstractLiteral
tools.refinery.logic.literal.AbstractCallLiteral
tools.refinery.logic.literal.CallLiteral
- All Implemented Interfaces:
CanNegate<CallLiteral>, Literal
-
Constructor Summary
ConstructorsConstructorDescriptionCallLiteral(CallPolarity polarity, Constraint target, List<Variable> arguments) -
Method Summary
Modifier and TypeMethodDescriptionprotected LiteraldoSubstitute(Substitution substitution, List<Variable> substitutedArguments) booleanequalsWithSubstitution(LiteralEqualityHelper helper, Literal other) getInputVariables(Set<? extends Variable> positiveVariablesInClause) getPrivateVariables(Set<? extends Variable> positiveVariablesInClause) intnegate()reduce()toString()withArguments(Constraint newTarget, List<Variable> newArguments) Methods inherited from class AbstractCallLiteral
getArguments, getArgumentsOfDirection, getTarget, substitute, withTargetMethods inherited from class AbstractLiteral
equals, hashCodeMethods inherited from interface Literal
substitute
-
Constructor Details
-
CallLiteral
-
-
Method Details
-
getPolarity
-
doSubstitute
- Specified by:
doSubstitutein classAbstractCallLiteral
-
getOutputVariables
- Specified by:
getOutputVariablesin interfaceLiteral
-
getInputVariables
- Specified by:
getInputVariablesin interfaceLiteral- Overrides:
getInputVariablesin classAbstractCallLiteral
-
getPrivateVariables
- Specified by:
getPrivateVariablesin interfaceLiteral- Overrides:
getPrivateVariablesin classAbstractCallLiteral
-
reduce
-
equalsWithSubstitution
- Specified by:
equalsWithSubstitutionin interfaceLiteral- Overrides:
equalsWithSubstitutionin classAbstractCallLiteral
-
hashCodeWithSubstitution
- Specified by:
hashCodeWithSubstitutionin interfaceLiteral- Overrides:
hashCodeWithSubstitutionin classAbstractCallLiteral
-
negate
- Specified by:
negatein interfaceCanNegate<CallLiteral>
-
withArguments
- Specified by:
withArgumentsin classAbstractCallLiteral
-
toString
-