Class PartialCheckLiteral
java.lang.Object
tools.refinery.logic.literal.AbstractLiteral
tools.refinery.store.reasoning.literal.PartialCheckLiteral
- All Implemented Interfaces:
CanNegate<PartialCheckLiteral>
,Literal
,TermLiteral<TruthValue>
public class PartialCheckLiteral
extends AbstractLiteral
implements CanNegate<PartialCheckLiteral>, TermLiteral<TruthValue>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
equalsWithSubstitution
(LiteralEqualityHelper helper, Literal other) getInputVariables
(Set<? extends Variable> positiveVariablesInClause) getPrivateVariables
(Set<? extends Variable> positiveVariablesInClause) getTerm()
int
negate()
reduce()
substitute
(Substitution substitution) toString()
withTerm
(Term<TruthValue> term) Methods inherited from class tools.refinery.logic.literal.AbstractLiteral
equals, hashCode
-
Constructor Details
-
PartialCheckLiteral
-
-
Method Details
-
getTerm
- Specified by:
getTerm
in interfaceTermLiteral<TruthValue>
-
withTerm
- Specified by:
withTerm
in interfaceTermLiteral<TruthValue>
-
getOutputVariables
- Specified by:
getOutputVariables
in interfaceLiteral
-
getInputVariables
- Specified by:
getInputVariables
in interfaceLiteral
-
getPrivateVariables
- Specified by:
getPrivateVariables
in interfaceLiteral
-
substitute
- Specified by:
substitute
in interfaceLiteral
-
negate
- Specified by:
negate
in interfaceCanNegate<PartialCheckLiteral>
-
equalsWithSubstitution
- Specified by:
equalsWithSubstitution
in interfaceLiteral
- Overrides:
equalsWithSubstitution
in classAbstractLiteral
-
hashCodeWithSubstitution
- Specified by:
hashCodeWithSubstitution
in interfaceLiteral
- Overrides:
hashCodeWithSubstitution
in classAbstractLiteral
-
reduce
-
toString
-