edu.udo.cs.yale.example
Class NoMissingAttributesCondition

java.lang.Object
  extended by edu.udo.cs.yale.example.NoMissingAttributesCondition
All Implemented Interfaces:
Condition

public class NoMissingAttributesCondition
extends java.lang.Object
implements Condition

This subclass of Condition serves to excludes all examples containing missing values from an example set.

Version:
$Id: NoMissingAttributesCondition.java,v 2.2 2006/03/21 15:35:39 ingomierswa Exp $
Author:
Timm Euler, Ingo Mierswa

Constructor Summary
NoMissingAttributesCondition(ExampleSet exampleSet, java.lang.String parameterString)
          Throws an exception since this condition does not support parameter string.
 
Method Summary
 boolean conditionOk(Example example)
          Returns true if the example does not contain missing values.
 Condition duplicate()
          Since the condition cannot be altered after creation we can just return the condition object itself.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoMissingAttributesCondition

public NoMissingAttributesCondition(ExampleSet exampleSet,
                                    java.lang.String parameterString)
Throws an exception since this condition does not support parameter string.

Method Detail

duplicate

public Condition duplicate()
Since the condition cannot be altered after creation we can just return the condition object itself.

Specified by:
duplicate in interface Condition


conditionOk

public boolean conditionOk(Example example)
Returns true if the example does not contain missing values.

Specified by:
conditionOk in interface Condition



Copyright © 2001-2006