weka.associations.tertius
Class Literal
java.lang.Object
|
+--weka.associations.tertius.Literal
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AttributeValueLiteral
- public abstract class Literal
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Field Summary |
static int |
NEG
|
static int |
POS
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NEG
public static final int NEG
- See Also:
- Constant Field Values
POS
public static final int POS
- See Also:
- Constant Field Values
Literal
public Literal(Predicate predicate,
int sign,
int missing)
getPredicate
public Predicate getPredicate()
getNegation
public Literal getNegation()
setNegation
public void setNegation(Literal negation)
positive
public boolean positive()
negative
public boolean negative()
satisfies
public abstract boolean satisfies(Instance instance)
negationSatisfies
public abstract boolean negationSatisfies(Instance instance)
toString
public abstract java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright (c)
2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London