weka.classifiers.rules
Class Prism.Test

java.lang.Object
  extended byweka.classifiers.rules.Prism.Test
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Prism

private class Prism.Test
extends java.lang.Object
implements java.io.Serializable

Class for storing a list of attribute-value tests


Field Summary
private  int m_attr
          Attribute to test
private  Prism.Test m_next
          The next test in the rule
private  int m_val
          The attribute's value
 
Constructor Summary
private Prism.Test()
           
 
Method Summary
private  boolean satisfies(Instance inst)
          Returns whether a given instance satisfies this test.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_attr

private int m_attr
Attribute to test


m_val

private int m_val
The attribute's value


m_next

private Prism.Test m_next
The next test in the rule

Constructor Detail

Prism.Test

private Prism.Test()
Method Detail

satisfies

private boolean satisfies(Instance inst)
Returns whether a given instance satisfies this test.

Parameters:
inst - the instance to be tested
Returns:
true if the instance satisfies the test