Package tools.refinery.logic.literal
Class AbstractCallLiteral
java.lang.Object
tools.refinery.logic.literal.AbstractLiteral
tools.refinery.logic.literal.AbstractCallLiteral
- All Implemented Interfaces:
Literal
- Direct Known Subclasses:
AbstractCountLiteral,CallLiteral,RepresentativeElectionLiteral
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractCallLiteral(Constraint target, List<Variable> arguments) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract LiteraldoSubstitute(Substitution substitution, List<Variable> substitutedArguments) booleanequalsWithSubstitution(LiteralEqualityHelper helper, Literal other) getArgumentsOfDirection(ParameterDirection direction) getInputVariables(Set<? extends Variable> positiveVariablesInClause) getPrivateVariables(Set<? extends Variable> positiveVariablesInClause) intsubstitute(Substitution substitution) abstract AbstractCallLiteralwithArguments(Constraint newTarget, List<Variable> newArguments) withTarget(Constraint newTarget) Methods inherited from class tools.refinery.logic.literal.AbstractLiteral
equals, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tools.refinery.logic.literal.Literal
getOutputVariables, reduce
-
Constructor Details
-
AbstractCallLiteral
-
-
Method Details
-
getTarget
-
getArguments
-
getArgumentsOfDirection
-
getInputVariables
-
getPrivateVariables
-
substitute
-
doSubstitute
protected abstract Literal doSubstitute(Substitution substitution, List<Variable> substitutedArguments) -
withTarget
-
withArguments
public abstract AbstractCallLiteral withArguments(Constraint newTarget, List<Variable> newArguments) -
equalsWithSubstitution
- Specified by:
equalsWithSubstitutionin interfaceLiteral- Overrides:
equalsWithSubstitutionin classAbstractLiteral
-
hashCodeWithSubstitution
- Specified by:
hashCodeWithSubstitutionin interfaceLiteral- Overrides:
hashCodeWithSubstitutionin classAbstractLiteral
-