|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.example.set.AttributeValueFilter
public class AttributeValueFilter
The condition is fulfilled if an attribute has a value equal to, not equal to,
less than, ... a given value. This filter can be constructed from several conditions
of the class AttributeValueFilterSingleCondition which must all be fulfilled.
| Constructor Summary | |
|---|---|
AttributeValueFilter(Attribute attribute,
int comparisonType,
java.lang.String value)
Creates a new AttributeValueFilter. |
|
AttributeValueFilter(ExampleSet exampleSet,
java.lang.String parameterString)
Constructs an AttributeValueFilter for a given ExampleSet from a
parameter string |
|
| Method Summary | |
|---|---|
boolean |
conditionOk(Example e)
Returns true if all conditions are fulfilled for the given example. |
Condition |
duplicate()
Deprecated. Conditions should not be able to be changed dynamically and hence there is no need for a copy |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeValueFilter(Attribute attribute,
int comparisonType,
java.lang.String value)
public AttributeValueFilter(ExampleSet exampleSet,
java.lang.String parameterString)
ExampleSet from a
parameter string
parameterString - Must be of the form attribute1 R1 value1 RR attribute2 R2 value2 RR ...,
where Ri is one out of =, != or <>, <, >, <=, and >= and all RR must
be either || for OR or && for AND.| Method Detail |
|---|
@Deprecated public Condition duplicate()
duplicate in interface Conditionpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean conditionOk(Example e)
conditionOk in interface Condition
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||