|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.example.set.AttributeValueFilterSingleCondition
public class AttributeValueFilterSingleCondition
The condition is fulfilled if an attribute has a value equal to, not equal to, less than, ... a given value.
| Field Summary | |
|---|---|
static int |
EQUALS
|
static int |
GEQ
|
static int |
GREATER
|
static int |
LEQ
|
static int |
LESS
|
static int |
NEQ1
|
static int |
NEQ2
|
| Constructor Summary | |
|---|---|
AttributeValueFilterSingleCondition(Attribute attribute,
int comparisonType,
java.lang.String value)
Creates a new AttributeValueFilter. |
|
AttributeValueFilterSingleCondition(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 the condition is 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 |
| Field Detail |
|---|
public static final int LEQ
public static final int GEQ
public static final int NEQ1
public static final int NEQ2
public static final int EQUALS
public static final int LESS
public static final int GREATER
| Constructor Detail |
|---|
public AttributeValueFilterSingleCondition(Attribute attribute,
int comparisonType,
java.lang.String value)
public AttributeValueFilterSingleCondition(ExampleSet exampleSet,
java.lang.String parameterString)
ExampleSet from a parameter string
parameterString - Must be of the form attribute R value, where R is one out of =, !=, <&, >, <=, 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 | |||||||||