Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.QueryElement.Condition.PP_REMOVE_ROWS_CONDITION Class Reference

Inheritance diagram for kddml.Core.QueryElement.Condition.PP_REMOVE_ROWS_CONDITION:

kddml.Core.QueryElement.Condition.BaseCondition kddml.Core.QueryElement.Condition.Condition kddml.Core.QueryElement.XMLSpecialElement kddml.Core.QueryElement.Condition.ConditionChecker kddml.Core.QueryElement.Condition.ConditionResolver kddml.Core.KDDMLObject kddml.Core.HTMLTranslator List of all members.

Protected Member Functions

 PP_REMOVE_ROWS_CONDITION (String type, String term1, boolean term1_is_constant, String term2, boolean term2_is_constant, String term3, boolean term3_is_constant)
boolean isMetaInstancesOperator ()
boolean evalMissingAttribute ()
boolean evalSimpleCase (String op, String[] values) throws XMLSpecialElementException

Detailed Description

This condition can be used to mark remove rows of a preprocessing table. Examples include:
  1. to remove all instances with the attribute temperature less than 80;
  2. to remove all instances where the attribute outlook is missing.
  3. to remove all instances where the attribute temperature contains the mark out_of_range.

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2003-2005

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Andrea Romei (romei@di.unipi.it)
Version:
2.0.16


Constructor & Destructor Documentation

kddml.Core.QueryElement.Condition.PP_REMOVE_ROWS_CONDITION.PP_REMOVE_ROWS_CONDITION String  type,
String  term1,
boolean  term1_is_constant,
String  term2,
boolean  term2_is_constant,
String  term3,
boolean  term3_is_constant
[protected]
 

Constructor.

Parameters:
type String the value of op_type attribute.
term1 String the first term.
term1_is_constant boolean.
term2 String the second term value.
term2_is_constant boolean.
term3 String null.
term3_is_constant boolean false.


Member Function Documentation

boolean kddml.Core.QueryElement.Condition.PP_REMOVE_ROWS_CONDITION.isMetaInstancesOperator  )  [protected, virtual]
 

Returns false it the condition is evaluates on a table instance. Returns true if the op_type is evaluated on the preprocessing data, including preprocessing information such as marks associated to a physical instance value.

Returns:
boolean

Implements kddml.Core.QueryElement.Condition.BaseCondition.

boolean kddml.Core.QueryElement.Condition.PP_REMOVE_ROWS_CONDITION.evalMissingAttribute  )  [protected, virtual]
 

Evaluates the condition if the attribute value is missing. Returns true if the condition is true when a missing attribute value is found. Returns false otherwise.

Returns:
boolean

Implements kddml.Core.QueryElement.Condition.BaseCondition.

boolean kddml.Core.QueryElement.Condition.PP_REMOVE_ROWS_CONDITION.evalSimpleCase String  op,
String[]  values
throws XMLSpecialElementException [protected, virtual]
 

Evaluates a simple case expression.

Parameters:
op String the operator type.
values String[] the term values. The size of the array is equal to the cardinality of the op_type. If the value referes to a missing table attribute, then the array value is null.
Exceptions:
XMLSpecialElementException 
Returns:
boolean the condition evaluation.

Implements kddml.Core.QueryElement.Condition.BaseCondition.


Generated on Thu Feb 23 13:04:45 2006 for kddml by  doxygen 1.4.3