Package tools.refinery.logic.literal
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 tools.refinery.logic.literal.AbstractCallLiteral
getArguments, getArgumentsOfDirection, getTarget, substitute, withTargetMethods inherited from class tools.refinery.logic.literal.AbstractLiteral
equals, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface tools.refinery.logic.literal.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
-