Package tools.refinery.logic.literal
Interface Literal
- All Known Subinterfaces:
CanNegate<T>,TermLiteral<T>
- All Known Implementing Classes:
AbstractCallLiteral,AbstractCountLiteral,AbstractLiteral,AssignLiteral,BooleanLiteral,CallLiteral,CheckLiteral,ConstantLiteral,EquivalenceLiteral,RepresentativeElectionLiteral
public interface Literal
In mathematical logic, a literal is an atomic formula or its negation. A literal is a formula that is either true
or false, but not both. It is a basic building block of logic.
A clause is a propositional (well-formed) formula formed from a finite collection of literals and logical connectives.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanequalsWithSubstitution(LiteralEqualityHelper helper, Literal other) getInputVariables(Set<? extends Variable> positiveVariablesInClause) getPrivateVariables(Set<? extends Variable> positiveVariablesInClause) intdefault Literalreduce()substitute(Substitution substitution)
-
Method Details
-
getOutputVariables
-
getInputVariables
-
getPrivateVariables
-
substitute
-
reduce
-
equalsWithSubstitution
-
hashCodeWithSubstitution
-