Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataMining.AssociationRules.ItemFeature Class Reference

Inheritance diagram for kddml.Core.DataMining.AssociationRules.ItemFeature:

kddml.Core.DataMining.AssociationRules.ItemFeatureManager List of all members.

Public Member Functions

 ItemFeature (String name, boolean is_numeric)
 ItemFeature (String name, double value)
 ItemFeature (String name, String value)
boolean isNumeric ()
boolean isMissing ()
String name ()
Double value () throws IllegalArgumentException
String stringValue () throws IllegalArgumentException
void setValue (double value) throws IllegalArgumentException
void setValue (String value) throws IllegalArgumentException
boolean equals (ItemFeature o)

Detailed Description

ItemFeature represents an item feature with associated name (e.g. the price or the quantity of a product) and related value. Value of a item feature can be string or numeric. Value can be missing.

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2003-2005

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Daniele Cerra
Version:
2.0.16


Constructor & Destructor Documentation

kddml.Core.DataMining.AssociationRules.ItemFeature.ItemFeature String  name,
boolean  is_numeric
 

Constructor. Builds a missing object value.

Parameters:
name String
is_numeric boolean

kddml.Core.DataMining.AssociationRules.ItemFeature.ItemFeature String  name,
double  value
 

Constructor used to build a numeric feature.

Parameters:
name String
value double

kddml.Core.DataMining.AssociationRules.ItemFeature.ItemFeature String  name,
String  value
 

Constructor used to build a string feature.

Parameters:
name String
value double


Member Function Documentation

boolean kddml.Core.DataMining.AssociationRules.ItemFeature.isNumeric  ) 
 

Tests if the item feature is numeric.

Returns:
boolean

Implements kddml.Core.DataMining.AssociationRules.ItemFeatureManager.

boolean kddml.Core.DataMining.AssociationRules.ItemFeature.isMissing  ) 
 

Tests if the item feature value is missing.

Returns:
boolean

Implements kddml.Core.DataMining.AssociationRules.ItemFeatureManager.

String kddml.Core.DataMining.AssociationRules.ItemFeature.name  ) 
 

Returns the name of this feature.

Returns:
String

Implements kddml.Core.DataMining.AssociationRules.ItemFeatureManager.

Double kddml.Core.DataMining.AssociationRules.ItemFeature.value  )  throws IllegalArgumentException
 

Returns the value of this numeric feature or null if it is missing. Throws an exception if the feature value is not numeric.

Exceptions:
IllegalArgumentException 
Returns:
double

Implements kddml.Core.DataMining.AssociationRules.ItemFeatureManager.

String kddml.Core.DataMining.AssociationRules.ItemFeature.stringValue  )  throws IllegalArgumentException
 

Returns the value of this string feature or null if it is missing. Throws an exception if the feature value is not string.

Exceptions:
IllegalArgumentException 
Returns:
double

Implements kddml.Core.DataMining.AssociationRules.ItemFeatureManager.

void kddml.Core.DataMining.AssociationRules.ItemFeature.setValue double  value  )  throws IllegalArgumentException
 

Sets the numeric value to this numeric item feature. Throws an exception if the item is not numerical.

Parameters:
value double
Exceptions:
IllegalArgumentException 

Implements kddml.Core.DataMining.AssociationRules.ItemFeatureManager.

void kddml.Core.DataMining.AssociationRules.ItemFeature.setValue String  value  )  throws IllegalArgumentException
 

Sets the value to this string item feature. Throws an exception if the item is numerical.

Parameters:
value String
Exceptions:
IllegalArgumentException 

Implements kddml.Core.DataMining.AssociationRules.ItemFeatureManager.

boolean kddml.Core.DataMining.AssociationRules.ItemFeature.equals ItemFeature  o  ) 
 

Tests if two items are equal. Two items are equal if they have the same name.

Parameters:
o Object
Returns:
boolean

Implements kddml.Core.DataMining.AssociationRules.ItemFeatureManager.


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