public abstract class Literal extends Object implements Serializable, RevisionHandler
Modifier and Type | Field and Description |
---|---|
protected int |
m_missing |
static int |
NEG |
static int |
POS |
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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRevision
public static final int NEG
public static final int POS
protected int m_missing
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 © 2015 University of Waikato, Hamilton, NZ. All rights reserved.