Main Page | Class Hierarchy | Class List | Class Members

kddml.Operators.OperatorSettings Class Reference

Inheritance diagram for kddml.Operators.OperatorSettings:

kddml.Operators.AlgorithmLoaderSettings kddml.Operators.IO.IOSettings kddml.Operators.Postprocessing.PostProcessingSettings kddml.Operators.Preprocessing.PreprocessingSettings kddml.Operators.Unclassified.UnclassifiedSettings kddml.Operators.DataMining.DMAlgorithmLoaderSettings kddml.Operators.Preprocessing.PPAlgorithmLoaderSettings kddml.Operators.IO.ExternalResourceReader.ExternalResourceReaderSettings kddml.Operators.IO.ExternalResourceWriter.ExternalResourceWriterSettings kddml.Operators.IO.RepositoryResourceReader.RepositoryResourceReaderSettings kddml.Operators.Postprocessing.CLUSTER_CENTROID_SETTINGS kddml.Operators.Postprocessing.CLUSTER_NUMBER_SETTINGS kddml.Operators.Postprocessing.CLUSTER_PARTITION_SETTINGS kddml.Operators.Postprocessing.CLUSTER_PARTITION_SPARROW_SETTINGS kddml.Operators.Postprocessing.MISCLASSIFIED_SETTINGS kddml.Operators.Postprocessing.RDA_FILTER_SETTINGS kddml.Operators.Postprocessing.RDA_PRESERVED_SETTINGS kddml.Operators.Postprocessing.RDA_SATISFY_SETTINGS kddml.Operators.Postprocessing.SEQUENCE_AGGREGATE_FILTER_SETTINGS kddml.Operators.Postprocessing.SEQUENCE_FILTER_SETTINGS kddml.Operators.Postprocessing.SEQUENCE_MAXIMAL_FILTER_SETTINGS kddml.Operators.Postprocessing.SEQUENCE_RULE_SETTINGS kddml.Operators.Postprocessing.SEQUENCE_SATISFY_SETTINGS kddml.Operators.Postprocessing.SEQUENCE_TIMESTAMP_FILTER_SETTINGS kddml.Operators.Postprocessing.TREE_CLASSIFY_SETTINGS kddml.Operators.Postprocessing.TREE_META_CLASSIFIER_SETTINGS kddml.Operators.Preprocessing.PP_ADD_HIERARCHY_SETTINGS kddml.Operators.Preprocessing.PP_CHANGE_TYPE_SETTINGS kddml.Operators.Preprocessing.PP_DIVIDING_ATTRIBUTE_SETTINGS kddml.Operators.Preprocessing.PP_FILTER_ATTRIBUTES_SETTINGS kddml.Operators.Preprocessing.PP_FOLDING_SETTINGS kddml.Operators.Preprocessing.PP_HIERARCHICAL_DISCRETIZATION_SETTINGS kddml.Operators.Preprocessing.PP_MARK_DUPLICATES_SETTINGS kddml.Operators.Preprocessing.PP_MARKING_SETTINGS kddml.Operators.Preprocessing.PP_NEW_ATTRIBUTE_SETTINGS kddml.Operators.Preprocessing.PP_NUMERIC_LABELING_SETTINGS kddml.Operators.Preprocessing.PP_REMOVE_ROWS_SETTINGS kddml.Operators.Preprocessing.PP_RENAME_ATTRIBUTES_SETTINGS kddml.Operators.Preprocessing.PP_SORTING_ATTRIBUTE_SETTINGS kddml.Operators.Preprocessing.PP_TABLE_2_TABLE_SETTINGS kddml.Operators.Preprocessing.TABLE_2_PP_TABLE_SETTINGS kddml.Operators.Unclassified.EXT_CALL_SETTINGS kddml.Operators.Unclassified.JDM_CONNECTION_SETTINGS kddml.Operators.Unclassified.PAR_QUERY_SETTINGS kddml.Operators.Unclassified.SCALAR_SETTINGS kddml.Operators.Unclassified.SEQ_QUERY_SETTINGS kddml.Operators.Unclassified.TABLE_2_HIERARCHY_SETTINGS List of all members.

Public Member Functions

void checkAttributes (Hashtable< String, KDDMLScalarManager > attributes) throws SettingsException
Hashtable< String, KDDMLScalarManagerrefreshAttributes (Hashtable< String, KDDMLScalarManager > attributes)
abstract String[] listAttributes ()
abstract Boolean isRequired (String attribute_name)
abstract Boolean isFixed (String attribute_name)
abstract String getDefaultAttributeValue (String attribute_name)
abstract KDDMLScalarType getAttributeType (String attribute_name)
void checkCorrelationBetweenAttributes (Hashtable< String, KDDMLScalarManager > attributes) throws SettingsException
String getOperatorName ()

Protected Member Functions

 OperatorSettings ()

Detailed Description

Operator settings superclass. Settings incorporate XML attributes specification related to an operator. This included also algorithm parameters.
Attribute-list declarations specify the name, the usage of the attribute, the data type, and default value (if any) of each attribute associated with a given element type (i.e. operator). The type of an attribute can be one of the specified by the class kddml.Core.KDDMLScalarType. The usage can be one of the following:
  1. Required: means that the attribute must have a value every time this operator is listed.
  2. Fixed: the attribute is not required, but if it occurs, it must have the specified default value.
  3. Implied: the attribute value is not required, and no default value is provided.

This class performs a correctness control about the types and the usage of input attributes values related to the operator.
Operator setting can be created through the java reflection, by using the class OperatorFactory. The fragment of code below loads the RDA_MINER operator and print out the list of related attributes.
....
if (OperatorFactory.isSupported("RDA_MINER")) {
    OperatorSettings factory = OperatorFactory.newSettingsInstance("RDA_MINER");
    factory.listAttributes();
}
....

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.Operators.OperatorSettings.OperatorSettings  )  [protected]
 

Proprietary empty constructor. This class cannot be istantied outside of the package. Use the OperatorFactory to create a new OperatorSettings instance.


Member Function Documentation

void kddml.Operators.OperatorSettings.checkAttributes Hashtable< String, KDDMLScalarManager attributes  )  throws SettingsException
 

Performs a correctness control about the input attributes of the operator (e.g., check that the level attribute of the PP_HIERARCHY_DISCRETIZATION operator is a positive integer number. Attributes are given as hash-table where the key of the hashtable is the XML attribute name and the value of the hashtable is the XML attribute value as KDDMLScalarManager. The method throws an exception if an error is occurs. More precisely, for each attribute returned by listAttributes(), the method checks if the hashtable contains the attribute. If this is the case, then a type checking is performed on attribute value. Otherwise, if the attribute is required (i.e. the method isRequired() returns true), then the method throws an exception.

Parameters:
attributes Hashtable the input attributes with the name as key and the value as KDDMLScalarManager object.
Exceptions:
SettingsException if a type checking error occurs or the attribute is required but the hashtable do not contains it.

Reimplemented in kddml.Operators.AlgorithmLoaderSettings, kddml.Operators.IO.ExternalResourceReader.ARFF_LOADER_SETTINGS, and kddml.Operators.Preprocessing.PP_REWRITING_SETTINGS.

Hashtable<String, KDDMLScalarManager> kddml.Operators.OperatorSettings.refreshAttributes Hashtable< String, KDDMLScalarManager attributes  ) 
 

Sets the types and the default values of all attributes returned by the listAttributes() method. The type is obtained by means the method getAttributeType(attr_name) that takes the attribute name as input. If the attribute value is fixed (i.e. the method isFixed(attr_name) returns true), then its value is replaced with the default value in the hashtable. The default value is obtained by means the method getDefaultValue(attr_name) that takes the attribute name as input. Finally, if an optional attribute do not belong to the hashtable and a default value is provided for that attribute, then its value is added to the input hashtable. The method returns the new hashtable as output.

Parameters:
attributes Hashtable
Returns:
Hashtable

Reimplemented in kddml.Operators.AlgorithmLoaderSettings.

abstract String [] kddml.Operators.OperatorSettings.listAttributes  )  [pure virtual]
 

Returns the list of attributes belonging to the operator specification.

Returns:
String[]

Implemented in kddml.Operators.AlgorithmLoaderSettings, kddml.Operators.DataMining.TREE_MINER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.ARFF_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.DATABASE_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_CLUSTER_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_RDA_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_SEQUENCE_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_TREE_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceWriter.ARFF_WRITER_SETTINGS, kddml.Operators.IO.ExternalResourceWriter.DATABASE_WRITER_SETTINGS, kddml.Operators.IO.RepositoryResourceReader.RepositoryResourceReaderSettings, kddml.Operators.Postprocessing.CLUSTER_CENTROID_SETTINGS, kddml.Operators.Postprocessing.CLUSTER_NUMBER_SETTINGS, kddml.Operators.Postprocessing.CLUSTER_PARTITION_SETTINGS, kddml.Operators.Postprocessing.CLUSTER_PARTITION_SPARROW_SETTINGS, kddml.Operators.Postprocessing.MISCLASSIFIED_SETTINGS, kddml.Operators.Postprocessing.RDA_FILTER_SETTINGS, kddml.Operators.Postprocessing.RDA_PRESERVED_SETTINGS, kddml.Operators.Postprocessing.RDA_SATISFY_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_AGGREGATE_FILTER_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_FILTER_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_MAXIMAL_FILTER_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_RULE_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_SATISFY_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_TIMESTAMP_FILTER_SETTINGS, kddml.Operators.Postprocessing.TREE_CLASSIFY_SETTINGS, kddml.Operators.Postprocessing.TREE_META_CLASSIFIER_SETTINGS, kddml.Operators.Preprocessing.PP_ADD_HIERARCHY_SETTINGS, kddml.Operators.Preprocessing.PP_CHANGE_TYPE_SETTINGS, kddml.Operators.Preprocessing.PP_DIVIDING_ATTRIBUTE_SETTINGS, kddml.Operators.Preprocessing.PP_FILTER_ATTRIBUTES_SETTINGS, kddml.Operators.Preprocessing.PP_FOLDING_SETTINGS, kddml.Operators.Preprocessing.PP_HIERARCHICAL_DISCRETIZATION_SETTINGS, kddml.Operators.Preprocessing.PP_MARK_DUPLICATES_SETTINGS, kddml.Operators.Preprocessing.PP_MARKING_SETTINGS, kddml.Operators.Preprocessing.PP_NEW_ATTRIBUTE_SETTINGS, kddml.Operators.Preprocessing.PP_NORMALIZATION_SETTINGS, kddml.Operators.Preprocessing.PP_NUMERIC_DISCRETIZATION_SETTINGS, kddml.Operators.Preprocessing.PP_NUMERIC_LABELING_SETTINGS, kddml.Operators.Preprocessing.PP_REMOVE_ROWS_SETTINGS, kddml.Operators.Preprocessing.PP_RENAME_ATTRIBUTES_SETTINGS, kddml.Operators.Preprocessing.PP_REWRITING_SETTINGS, kddml.Operators.Preprocessing.PP_SORTING_ATTRIBUTE_SETTINGS, kddml.Operators.Preprocessing.PP_TABLE_2_TABLE_SETTINGS, kddml.Operators.Preprocessing.TABLE_2_PP_TABLE_SETTINGS, kddml.Operators.Unclassified.EXT_CALL_SETTINGS, kddml.Operators.Unclassified.JDM_CONNECTION_SETTINGS, kddml.Operators.Unclassified.PAR_QUERY_SETTINGS, kddml.Operators.Unclassified.SCALAR_SETTINGS, kddml.Operators.Unclassified.SEQ_QUERY_SETTINGS, and kddml.Operators.Unclassified.TABLE_2_HIERARCHY_SETTINGS.

abstract Boolean kddml.Operators.OperatorSettings.isRequired String  attribute_name  )  [pure virtual]
 

Returns true if a given attribute is required in the operator specification. Returns false if the attribute is implied or fixed. Finally, the method returns null if the attribute name do not belong to the list of attributes returned by the method listAttributes().

Parameters:
attribute_name String
Returns:
boolean

Implemented in kddml.Operators.AlgorithmLoaderSettings, kddml.Operators.DataMining.TREE_MINER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.ARFF_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.DATABASE_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_CLUSTER_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_RDA_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_SEQUENCE_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_TREE_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceWriter.ARFF_WRITER_SETTINGS, kddml.Operators.IO.ExternalResourceWriter.DATABASE_WRITER_SETTINGS, kddml.Operators.IO.RepositoryResourceReader.RepositoryResourceReaderSettings, kddml.Operators.Postprocessing.CLUSTER_CENTROID_SETTINGS, kddml.Operators.Postprocessing.CLUSTER_NUMBER_SETTINGS, kddml.Operators.Postprocessing.CLUSTER_PARTITION_SETTINGS, kddml.Operators.Postprocessing.CLUSTER_PARTITION_SPARROW_SETTINGS, kddml.Operators.Postprocessing.MISCLASSIFIED_SETTINGS, kddml.Operators.Postprocessing.RDA_FILTER_SETTINGS, kddml.Operators.Postprocessing.RDA_PRESERVED_SETTINGS, kddml.Operators.Postprocessing.RDA_SATISFY_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_AGGREGATE_FILTER_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_FILTER_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_MAXIMAL_FILTER_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_RULE_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_SATISFY_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_TIMESTAMP_FILTER_SETTINGS, kddml.Operators.Postprocessing.TREE_CLASSIFY_SETTINGS, kddml.Operators.Postprocessing.TREE_META_CLASSIFIER_SETTINGS, kddml.Operators.Preprocessing.PP_ADD_HIERARCHY_SETTINGS, kddml.Operators.Preprocessing.PP_CHANGE_TYPE_SETTINGS, kddml.Operators.Preprocessing.PP_DIVIDING_ATTRIBUTE_SETTINGS, kddml.Operators.Preprocessing.PP_FILTER_ATTRIBUTES_SETTINGS, kddml.Operators.Preprocessing.PP_FOLDING_SETTINGS, kddml.Operators.Preprocessing.PP_HIERARCHICAL_DISCRETIZATION_SETTINGS, kddml.Operators.Preprocessing.PP_MARK_DUPLICATES_SETTINGS, kddml.Operators.Preprocessing.PP_MARKING_SETTINGS, kddml.Operators.Preprocessing.PP_NEW_ATTRIBUTE_SETTINGS, kddml.Operators.Preprocessing.PP_NORMALIZATION_SETTINGS, kddml.Operators.Preprocessing.PP_NUMERIC_DISCRETIZATION_SETTINGS, kddml.Operators.Preprocessing.PP_NUMERIC_LABELING_SETTINGS, kddml.Operators.Preprocessing.PP_REMOVE_ROWS_SETTINGS, kddml.Operators.Preprocessing.PP_RENAME_ATTRIBUTES_SETTINGS, kddml.Operators.Preprocessing.PP_REWRITING_SETTINGS, kddml.Operators.Preprocessing.PP_SORTING_ATTRIBUTE_SETTINGS, kddml.Operators.Preprocessing.PP_TABLE_2_TABLE_SETTINGS, kddml.Operators.Preprocessing.TABLE_2_PP_TABLE_SETTINGS, kddml.Operators.Unclassified.EXT_CALL_SETTINGS, kddml.Operators.Unclassified.JDM_CONNECTION_SETTINGS, kddml.Operators.Unclassified.PAR_QUERY_SETTINGS, kddml.Operators.Unclassified.SCALAR_SETTINGS, kddml.Operators.Unclassified.SEQ_QUERY_SETTINGS, and kddml.Operators.Unclassified.TABLE_2_HIERARCHY_SETTINGS.

abstract Boolean kddml.Operators.OperatorSettings.isFixed String  attribute_name  )  [pure virtual]
 

Returns true if a given attribute is fixed (i.e. constant) in the operator specification. Returns false if the attribute is implied or required. Finally, the method returns null if the attribute name do not belong to the list of attributes returned by the method listAttributes().

Parameters:
attribute_name String
Returns:
boolean

Implemented in kddml.Operators.AlgorithmLoaderSettings, kddml.Operators.DataMining.TREE_MINER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.ARFF_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.DATABASE_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_CLUSTER_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_RDA_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_SEQUENCE_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_TREE_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceWriter.ARFF_WRITER_SETTINGS, kddml.Operators.IO.ExternalResourceWriter.DATABASE_WRITER_SETTINGS, kddml.Operators.IO.RepositoryResourceReader.RepositoryResourceReaderSettings, kddml.Operators.Postprocessing.CLUSTER_CENTROID_SETTINGS, kddml.Operators.Postprocessing.CLUSTER_NUMBER_SETTINGS, kddml.Operators.Postprocessing.CLUSTER_PARTITION_SETTINGS, kddml.Operators.Postprocessing.CLUSTER_PARTITION_SPARROW_SETTINGS, kddml.Operators.Postprocessing.MISCLASSIFIED_SETTINGS, kddml.Operators.Postprocessing.RDA_FILTER_SETTINGS, kddml.Operators.Postprocessing.RDA_PRESERVED_SETTINGS, kddml.Operators.Postprocessing.RDA_SATISFY_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_AGGREGATE_FILTER_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_FILTER_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_MAXIMAL_FILTER_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_RULE_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_SATISFY_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_TIMESTAMP_FILTER_SETTINGS, kddml.Operators.Postprocessing.TREE_CLASSIFY_SETTINGS, kddml.Operators.Postprocessing.TREE_META_CLASSIFIER_SETTINGS, kddml.Operators.Preprocessing.PP_ADD_HIERARCHY_SETTINGS, kddml.Operators.Preprocessing.PP_CHANGE_TYPE_SETTINGS, kddml.Operators.Preprocessing.PP_DIVIDING_ATTRIBUTE_SETTINGS, kddml.Operators.Preprocessing.PP_FILTER_ATTRIBUTES_SETTINGS, kddml.Operators.Preprocessing.PP_FOLDING_SETTINGS, kddml.Operators.Preprocessing.PP_HIERARCHICAL_DISCRETIZATION_SETTINGS, kddml.Operators.Preprocessing.PP_MARK_DUPLICATES_SETTINGS, kddml.Operators.Preprocessing.PP_MARKING_SETTINGS, kddml.Operators.Preprocessing.PP_NEW_ATTRIBUTE_SETTINGS, kddml.Operators.Preprocessing.PP_NORMALIZATION_SETTINGS, kddml.Operators.Preprocessing.PP_NUMERIC_DISCRETIZATION_SETTINGS, kddml.Operators.Preprocessing.PP_NUMERIC_LABELING_SETTINGS, kddml.Operators.Preprocessing.PP_REMOVE_ROWS_SETTINGS, kddml.Operators.Preprocessing.PP_RENAME_ATTRIBUTES_SETTINGS, kddml.Operators.Preprocessing.PP_REWRITING_SETTINGS, kddml.Operators.Preprocessing.PP_SORTING_ATTRIBUTE_SETTINGS, kddml.Operators.Preprocessing.PP_TABLE_2_TABLE_SETTINGS, kddml.Operators.Preprocessing.TABLE_2_PP_TABLE_SETTINGS, kddml.Operators.Unclassified.EXT_CALL_SETTINGS, kddml.Operators.Unclassified.JDM_CONNECTION_SETTINGS, kddml.Operators.Unclassified.PAR_QUERY_SETTINGS, kddml.Operators.Unclassified.SCALAR_SETTINGS, kddml.Operators.Unclassified.SEQ_QUERY_SETTINGS, and kddml.Operators.Unclassified.TABLE_2_HIERARCHY_SETTINGS.

abstract String kddml.Operators.OperatorSettings.getDefaultAttributeValue String  attribute_name  )  [pure virtual]
 

Returns the default value related to a given input attribute. Returns null if the attribute do not admit a default value. An attribute can be given any legal value as a default. The attribute value is not required on each element in the document, but if it is not present, it will appear to be the specified default. If the attribute is implied and it is not included in the element, the operator assumes that this is the attribute value.

Parameters:
attribute_name String
Returns:
String

Implemented in kddml.Operators.AlgorithmLoaderSettings, kddml.Operators.DataMining.TREE_MINER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.ARFF_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.DATABASE_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_CLUSTER_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_RDA_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_SEQUENCE_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_TREE_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceWriter.ARFF_WRITER_SETTINGS, kddml.Operators.IO.ExternalResourceWriter.DATABASE_WRITER_SETTINGS, kddml.Operators.IO.RepositoryResourceReader.RepositoryResourceReaderSettings, kddml.Operators.Postprocessing.CLUSTER_CENTROID_SETTINGS, kddml.Operators.Postprocessing.CLUSTER_NUMBER_SETTINGS, kddml.Operators.Postprocessing.CLUSTER_PARTITION_SETTINGS, kddml.Operators.Postprocessing.CLUSTER_PARTITION_SPARROW_SETTINGS, kddml.Operators.Postprocessing.MISCLASSIFIED_SETTINGS, kddml.Operators.Postprocessing.RDA_FILTER_SETTINGS, kddml.Operators.Postprocessing.RDA_PRESERVED_SETTINGS, kddml.Operators.Postprocessing.RDA_SATISFY_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_AGGREGATE_FILTER_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_FILTER_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_MAXIMAL_FILTER_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_RULE_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_SATISFY_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_TIMESTAMP_FILTER_SETTINGS, kddml.Operators.Postprocessing.TREE_CLASSIFY_SETTINGS, kddml.Operators.Postprocessing.TREE_META_CLASSIFIER_SETTINGS, kddml.Operators.Preprocessing.PP_ADD_HIERARCHY_SETTINGS, kddml.Operators.Preprocessing.PP_CHANGE_TYPE_SETTINGS, kddml.Operators.Preprocessing.PP_DIVIDING_ATTRIBUTE_SETTINGS, kddml.Operators.Preprocessing.PP_FILTER_ATTRIBUTES_SETTINGS, kddml.Operators.Preprocessing.PP_FOLDING_SETTINGS, kddml.Operators.Preprocessing.PP_HIERARCHICAL_DISCRETIZATION_SETTINGS, kddml.Operators.Preprocessing.PP_MARK_DUPLICATES_SETTINGS, kddml.Operators.Preprocessing.PP_MARKING_SETTINGS, kddml.Operators.Preprocessing.PP_MERGE_DUPLICATES_SETTINGS, kddml.Operators.Preprocessing.PP_NEW_ATTRIBUTE_SETTINGS, kddml.Operators.Preprocessing.PP_NORMALIZATION_SETTINGS, kddml.Operators.Preprocessing.PP_NUMERIC_DISCRETIZATION_SETTINGS, kddml.Operators.Preprocessing.PP_NUMERIC_LABELING_SETTINGS, kddml.Operators.Preprocessing.PP_REMOVE_ROWS_SETTINGS, kddml.Operators.Preprocessing.PP_RENAME_ATTRIBUTES_SETTINGS, kddml.Operators.Preprocessing.PP_REWRITING_SETTINGS, kddml.Operators.Preprocessing.PP_SORTING_ATTRIBUTE_SETTINGS, kddml.Operators.Preprocessing.PP_TABLE_2_TABLE_SETTINGS, kddml.Operators.Preprocessing.TABLE_2_PP_TABLE_SETTINGS, kddml.Operators.Unclassified.EXT_CALL_SETTINGS, kddml.Operators.Unclassified.JDM_CONNECTION_SETTINGS, kddml.Operators.Unclassified.PAR_QUERY_SETTINGS, kddml.Operators.Unclassified.SCALAR_SETTINGS, kddml.Operators.Unclassified.SEQ_QUERY_SETTINGS, and kddml.Operators.Unclassified.TABLE_2_HIERARCHY_SETTINGS.

abstract KDDMLScalarType kddml.Operators.OperatorSettings.getAttributeType String  attribute_name  )  [pure virtual]
 

Returns the type related to a given input attribute. KDDML supports the attribute types as expressed by the class KDDMLScalarType. Returns null if the attribute name do no belong to the list of attributes returned by the method listAttributes().

Parameters:
attribute_name String
Returns:
KDDMLScalarType

Implemented in kddml.Operators.AlgorithmLoaderSettings, kddml.Operators.DataMining.TREE_MINER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.ARFF_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.DATABASE_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_CLUSTER_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_RDA_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_SEQUENCE_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceReader.PMML_TREE_LOADER_SETTINGS, kddml.Operators.IO.ExternalResourceWriter.ARFF_WRITER_SETTINGS, kddml.Operators.IO.ExternalResourceWriter.DATABASE_WRITER_SETTINGS, kddml.Operators.IO.RepositoryResourceReader.RepositoryResourceReaderSettings, kddml.Operators.Postprocessing.CLUSTER_CENTROID_SETTINGS, kddml.Operators.Postprocessing.CLUSTER_NUMBER_SETTINGS, kddml.Operators.Postprocessing.CLUSTER_PARTITION_SETTINGS, kddml.Operators.Postprocessing.CLUSTER_PARTITION_SPARROW_SETTINGS, kddml.Operators.Postprocessing.MISCLASSIFIED_SETTINGS, kddml.Operators.Postprocessing.RDA_FILTER_SETTINGS, kddml.Operators.Postprocessing.RDA_PRESERVED_SETTINGS, kddml.Operators.Postprocessing.RDA_SATISFY_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_AGGREGATE_FILTER_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_FILTER_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_MAXIMAL_FILTER_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_RULE_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_SATISFY_SETTINGS, kddml.Operators.Postprocessing.SEQUENCE_TIMESTAMP_FILTER_SETTINGS, kddml.Operators.Postprocessing.TREE_CLASSIFY_SETTINGS, kddml.Operators.Postprocessing.TREE_META_CLASSIFIER_SETTINGS, kddml.Operators.Preprocessing.PP_ADD_HIERARCHY_SETTINGS, kddml.Operators.Preprocessing.PP_CHANGE_TYPE_SETTINGS, kddml.Operators.Preprocessing.PP_DIVIDING_ATTRIBUTE_SETTINGS, kddml.Operators.Preprocessing.PP_FILTER_ATTRIBUTES_SETTINGS, kddml.Operators.Preprocessing.PP_FOLDING_SETTINGS, kddml.Operators.Preprocessing.PP_HIERARCHICAL_DISCRETIZATION_SETTINGS, kddml.Operators.Preprocessing.PP_MARK_DUPLICATES_SETTINGS, kddml.Operators.Preprocessing.PP_MARKING_SETTINGS, kddml.Operators.Preprocessing.PP_NEW_ATTRIBUTE_SETTINGS, kddml.Operators.Preprocessing.PP_NORMALIZATION_SETTINGS, kddml.Operators.Preprocessing.PP_NUMERIC_DISCRETIZATION_SETTINGS, kddml.Operators.Preprocessing.PP_NUMERIC_LABELING_SETTINGS, kddml.Operators.Preprocessing.PP_REMOVE_ROWS_SETTINGS, kddml.Operators.Preprocessing.PP_RENAME_ATTRIBUTES_SETTINGS, kddml.Operators.Preprocessing.PP_REWRITING_SETTINGS, kddml.Operators.Preprocessing.PP_SORTING_ATTRIBUTE_SETTINGS, kddml.Operators.Preprocessing.PP_TABLE_2_TABLE_SETTINGS, kddml.Operators.Preprocessing.TABLE_2_PP_TABLE_SETTINGS, kddml.Operators.Unclassified.EXT_CALL_SETTINGS, kddml.Operators.Unclassified.JDM_CONNECTION_SETTINGS, kddml.Operators.Unclassified.PAR_QUERY_SETTINGS, kddml.Operators.Unclassified.SCALAR_SETTINGS, kddml.Operators.Unclassified.SEQ_QUERY_SETTINGS, and kddml.Operators.Unclassified.TABLE_2_HIERARCHY_SETTINGS.

void kddml.Operators.OperatorSettings.checkCorrelationBetweenAttributes Hashtable< String, KDDMLScalarManager attributes  )  throws SettingsException
 

Checks the correctness correlation between operator attributes. This method depends on the correlation level between the attribute and it is empty for a specific operator if and only if all attributes are independent. As instance, the user and password in the DATABASE_LOADER operator are independent. However, the attributes old_attribute_names and new_attribute_names in the PP_RENAME operator are not independent and they must share the same number of elements. The method can incorporate further controls independent on input attributes, e.g. that some particular events are true when the attribute is applied. By default, this method is empty and it can be ovverides under subclasses.

Parameters:
attributes Hashtable the attributes related to the operator with the relative value. The key of the hashtable is the name of the attribute. The value of the hashtable is a KDDMLScalar representing the value of the attribute. Each single attribute value is correct.
Exceptions:
SettingsException if the correlation checking returns an error.

Reimplemented in kddml.Operators.Postprocessing.SEQUENCE_TIMESTAMP_FILTER_SETTINGS, kddml.Operators.Postprocessing.TREE_META_CLASSIFIER_SETTINGS, and kddml.Operators.Preprocessing.PP_RENAME_ATTRIBUTES_SETTINGS.

String kddml.Operators.OperatorSettings.getOperatorName  ) 
 

Returns the operator name.

Returns:
String


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