com.rapidminer.example.set
Class AcceptAllCondition

java.lang.Object
  extended by com.rapidminer.example.set.AcceptAllCondition
All Implemented Interfaces:
Condition, java.io.Serializable

public class AcceptAllCondition
extends java.lang.Object
implements Condition

This subclass of Condition serves to accept all examples.

Author:
Ingo Mierswa Exp $
See Also:
Serialized Form

Constructor Summary
AcceptAllCondition()
          Creates a new condition.
AcceptAllCondition(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.
 Condition duplicate()
          Deprecated. Conditions should not be able to be changed dynamically and hence there is no need for a copy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcceptAllCondition

public AcceptAllCondition()
Creates a new condition.


AcceptAllCondition

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

Method Detail

duplicate

@Deprecated
public Condition duplicate()
Deprecated. Conditions should not be able to be changed dynamically and hence there is no need for a copy

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.

Specified by:
conditionOk in interface Condition


Copyright © 2001-2009 by Rapid-I