public abstract class Literal extends Object implements 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 String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRevision
public 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)
Copyright © 2019 University of Waikato, Hamilton, NZ. All rights reserved.