public abstract class Literal extends java.lang.Object implements java.io.Serializable, RevisionHandler
| Constructor and Description |
|---|
Literal(Predicate predicate,
int sign,
int missing) |
| Modifier and Type | Method and Description |
|---|---|
Literal |
getNegation() |
Predicate |
getPredicate() |
abstract boolean |
negationSatisfies(Instance instance) |
boolean |
negative() |
boolean |
positive() |
abstract boolean |
satisfies(Instance instance) |
void |
setNegation(Literal negation) |
abstract java.lang.String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRevisionpublic static final int NEG
public static final int POS
public Literal(Predicate predicate, int sign, int missing)
public Predicate getPredicate()
public Literal getNegation()
public void setNegation(Literal negation)
public boolean positive()
public boolean negative()
public abstract boolean satisfies(Instance instance)
public abstract boolean negationSatisfies(Instance instance)
public abstract java.lang.String toString()
toString in class java.lang.Object