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
           
 
Constructor Summary
Literal(Predicate predicate, int sign, int missing)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NEG

public static final int NEG
See Also:
Constant Field Values

POS

public static final int POS
See Also:
Constant Field Values
Constructor Detail

Literal

public Literal(Predicate predicate,
               int sign,
               int missing)
Method Detail

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