Main Page | Class Hierarchy | Class List | Class Members

kddml.Operators.Postprocessing.SEQUENCE_FILTER_RESOLVER Class Reference

Inheritance diagram for kddml.Operators.Postprocessing.SEQUENCE_FILTER_RESOLVER:

kddml.Operators.Postprocessing.PostProcessingResolver kddml.Operators.OperatorResolver kddml.Operators.HWResourcesDescription List of all members.

Public Member Functions

KDDMLObject execute (Hashtable< String, KDDMLScalarManager > settings, Vector< KDDMLObject > arguments) throws ResolverException, KDDMLCoreException
KDDMLObjectType getArgumentType (int i)

Detailed Description

Given a set of sequential patterns, it returns the patterns satisfying a specified condition. The condition is expressed using an AND/OR/NOT combination between a set of primitive filters, concerning support constraint, item constraint, length constraint or super-pattern constraint.
The first one specifies a requirement on the support of the sequence (e.g. “to filter sequences with a support less than 1”).
The item constraint specifies what are the particular individual or groups of items that should or should not be present in the pattern (e.g. “to filter sequences with the item “milk” in the sequence”). The length constraint specifies requirements on the length of the patterns, where the length can be either the number of distinct items, or the number of sets, or the maximal number of items per set (e.g. “to filter sequences with exactly 3 distinct items”).
Finally, the super-pattern constraint finds patterns that contain a particular list of sets as subpatterns (e.g. “to filter sequences that contain the item spaghetti first and then the item milk”).

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


Member Function Documentation

KDDMLObject kddml.Operators.Postprocessing.SEQUENCE_FILTER_RESOLVER.execute Hashtable< String, KDDMLScalarManager settings,
Vector< KDDMLObject arguments
throws ResolverException, KDDMLCoreException [virtual]
 

Returns the result of evaluating the operator over the passed arguments and attributes.
Attributes are given as hashtable, where the key is the name of the XML attribute related to the operator and the value is a KDDMLScalar object containing the attribute value. Attribute value is checked by the interpreter layer and it is correct.
Arguments are given as vector of KDDMLOjbect. Types of arguments are correct, as required by the getArgumentType(int i) method.
Implementations of the execute method can be distinguished according to the type of operator.

Parameters:
settings Hashtable the attributes related to the operator. 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.
arguments Vector the list of arguments as KDDMLObject.
Returns:
KDDMLObject the result of evaluating the operator.
Exceptions:
ResolverException if a resolving error occurs.
KDDMLCoreException if a level core error occurs.

Implements kddml.Operators.OperatorResolver.

KDDMLObjectType kddml.Operators.Postprocessing.SEQUENCE_FILTER_RESOLVER.getArgumentType int  i  )  [virtual]
 

Returns the expected type of the i-th argument of the operator. Returns null if the operator do not admit argument as i-th child.

Parameters:
i int
Returns:
KDDMLObjectType

Implements kddml.Operators.OperatorResolver.


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