Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataMining.ClassificationTrees.SimpleSetPredicate Class Reference

Inheritance diagram for kddml.Core.DataMining.ClassificationTrees.SimpleSetPredicate:

kddml.Core.DataMining.ClassificationTrees.SimplePredicate kddml.Core.DataMining.ClassificationTrees.Predicate List of all members.

Public Member Functions

 SimpleSetPredicate (String field, String[] val, SetOperator op_code)
PredicateEvaluation evaluate (Object instance) throws TreeModelException
String toString ()

Protected Member Functions

Element toXML ()

Detailed Description

A set operator checks whether a field value is element of a set. The attribute associated with this object can take one of following boolean operators:
  1. 'Is In' which becomes true if the value of the attribute is one of the specified set. (e.g., color IN { red, green })
  2. 'Is Not In' which becomes true if the value of the attribute is not one of the specified set. (e.g., color NOT IN { white, black })

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.DataMining.ClassificationTrees.SimpleSetPredicate.SimpleSetPredicate String  field,
String[]  val,
SetOperator  op_code
 

Constructor.

Parameters:
field String the field to check.
val String[] the list of values belonging to the set.
op_code SetOperator the operator to use for checking.


Member Function Documentation

PredicateEvaluation kddml.Core.DataMining.ClassificationTrees.SimpleSetPredicate.evaluate Object  instance  )  throws TreeModelException [virtual]
 

Evaluates this predicate on a single instance.

Parameters:
instance Object
Exceptions:
TreeModelException 
Returns:
PredicateEvaluation

Implements kddml.Core.DataMining.ClassificationTrees.Predicate.

String kddml.Core.DataMining.ClassificationTrees.SimpleSetPredicate.toString  )  [virtual]
 

Returns a representation of this object as string.

Returns:
String

Implements kddml.Core.DataMining.ClassificationTrees.Predicate.

Element kddml.Core.DataMining.ClassificationTrees.SimpleSetPredicate.toXML  )  [protected, virtual]
 

Returns the XML element representing this predicate.

Returns:
Element

Implements kddml.Core.DataMining.ClassificationTrees.Predicate.


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