Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager Interface Reference

Inheritance diagram for kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager:

kddml.Core.DataMining.SequentialPatterns.SequenceRule List of all members.

Public Member Functions

int getNumberOfSequenceElements ()
Integer getOccurrence ()
Double getSupport ()
Double getConfidence ()
SequenceManager getAntecedent ()
Iterator getAntecedentTimes ()
DelimiterManager getDelimiter ()
TimeManager getTime ()
SequenceManager getConsequent ()
Iterator getConsequentTimes ()
void setTime (TimeManager time)
void setAntecedentTimes (TimeManager[] times) throws IllegalArgumentException
void setConsequentTimes (TimeManager[] times) throws IllegalArgumentException
boolean contains (SequenceManager sequence)
boolean equals (Object sequence_rule)
String toString ()

Detailed Description

Basically a rule tells the relation between the elements of a sequence, i.e. probability that an ordered group of elements in sequence follow another one.

A sequence rule consists of an antecedent sequence and a consequent sequence, separated by a delimiter and, possibly, time.

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2004

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Daniele Cerra (daniele@cerra.info)
Version:
2.0.0 alfa


Member Function Documentation

int kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager.getNumberOfSequenceElements  ) 
 

Return the total number of sequence elements in both the antecedent and consequent sequences.

Returns:
number of sequence elements

Implemented in kddml.Core.DataMining.SequentialPatterns.SequenceRule.

Integer kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager.getOccurrence  ) 
 

Return number of occurrence of this rule: the number of objects in the data for which the antecedent and consequent sequences hold true.

Returns:
occurrence

Implemented in kddml.Core.DataMining.SequentialPatterns.SequenceRule.

Double kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager.getSupport  ) 
 

Return support of this rule: the ratio of the number of objects in the data for which the antecedent and consequent Sequences hold true, to the total number of objects in the data.

Support is expressed as probabilistic number between 0 and 1.

Returns:
support

Implemented in kddml.Core.DataMining.SequentialPatterns.SequenceRule.

Double kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager.getConfidence  ) 
 

Return confidence of this rule: probability of the consequent following the antecedent. Calculated as the number of occurrences of a sequence divided by the number of occurrences of the antecedent.

Confidence is expressed as probabilistic number between 0 and 1.

Returns:
confidence

Implemented in kddml.Core.DataMining.SequentialPatterns.SequenceRule.

SequenceManager kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager.getAntecedent  ) 
 

Return antecedent sequence composing this rule.

Returns:
antecedent sequence

Implemented in kddml.Core.DataMining.SequentialPatterns.SequenceRule.

Iterator kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager.getAntecedentTimes  ) 
 

Return an iterator over times between elements in antecedent sequence.

Returns:
antecedent sequence times iterator

Implemented in kddml.Core.DataMining.SequentialPatterns.SequenceRule.

DelimiterManager kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager.getDelimiter  ) 
 

Return delimiter between antecedent and consequent sequence.

Returns:
delimiter

Implemented in kddml.Core.DataMining.SequentialPatterns.SequenceRule.

TimeManager kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager.getTime  ) 
 

Return time between antecedent and consequent sequence.

Returns:
time

Implemented in kddml.Core.DataMining.SequentialPatterns.SequenceRule.

SequenceManager kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager.getConsequent  ) 
 

Return consequent sequence composing this rule.

Returns:
consequent sequence

Implemented in kddml.Core.DataMining.SequentialPatterns.SequenceRule.

Iterator kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager.getConsequentTimes  ) 
 

Return an iterator over times between elements in consequent sequence.

Returns:
consequent sequence times iterator

Implemented in kddml.Core.DataMining.SequentialPatterns.SequenceRule.

void kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager.setTime TimeManager  time  ) 
 

Set time between antecedent and consequent sequences.

Parameters:
time time between sequences

Implemented in kddml.Core.DataMining.SequentialPatterns.SequenceRule.

void kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager.setAntecedentTimes TimeManager[]  times  )  throws IllegalArgumentException
 

Set times between elements in antecedent sequence. Each TimeManager object represent time information between two following elements in sequence. E.g. let be s = <e1, e2, e3> the antecedent sequence, setting times for s, mean to give two time information, respectively the time between e1 and e2, and the time between e2 and e3.

Parameters:
times times between elements
Exceptions:
IllegalArgumentException times mismatch elements in antecedent sequence

Implemented in kddml.Core.DataMining.SequentialPatterns.SequenceRule.

void kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager.setConsequentTimes TimeManager[]  times  )  throws IllegalArgumentException
 

Set times between elements in consequent sequence. Each TimeManager object represent time information between two following elements in sequence. E.g. let be s = <e1, e2, e3> the consequent sequence, setting times for s, mean to give two time information, respectively the time between e1 and e2, and the time between e2 and e3.

Parameters:
times times between elements
Exceptions:
IllegalArgumentException times mismatch elements in consequent sequence

Implemented in kddml.Core.DataMining.SequentialPatterns.SequenceRule.

boolean kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager.contains SequenceManager  sequence  ) 
 

Check if antecedent or consequent sequences contain given sequence.

Parameters:
sequence sequence to be checked
Returns:
true if sequence belog to this rule

Implemented in kddml.Core.DataMining.SequentialPatterns.SequenceRule.

boolean kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager.equals Object  sequence_rule  ) 
 

Check when two rules are equals. To be equal, two rules must have the same antecedent and consequent sequences.

Parameters:
sequence_rule object to be checked
Returns:
true if objects are equals, false otherwise

Implemented in kddml.Core.DataMining.SequentialPatterns.SequenceRule.

String kddml.Core.DataMining.SequentialPatterns.SequenceRuleManager.toString  ) 
 

Return a string representation of rule.

Returns:
this object as string

Implemented in kddml.Core.DataMining.SequentialPatterns.SequenceRule.


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