org.put.semintec.mining.association
Class AssociationRule

java.lang.Object
  extended by org.put.semintec.mining.association.AssociationRule

public class AssociationRule
extends java.lang.Object

Represents relational association rule (query extension).

Author:
Agnieszka Lawrynowicz

Constructor Summary
AssociationRule()
           
 
Method Summary
 void calculateConfidence()
          Calculates confidence of the rule
 Pattern getAntecedent()
          Getter of the property antecedent
 double getConfidence()
          Getter of the property confidence
 Pattern getConsequent()
          Getter of the property consequent
 void setAntecedent(Pattern antecedent)
          Setter of the property antecedent
 void setConfidence(double confidence)
          Setter of the property confidence
 void setConsequent(Pattern consequent)
          Setter of the property consequent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssociationRule

public AssociationRule()
Method Detail

getAntecedent

public Pattern getAntecedent()
Getter of the property antecedent

Returns:
Returns the antecedent.

setAntecedent

public void setAntecedent(Pattern antecedent)
Setter of the property antecedent

Parameters:
antecedent - The antecedent to set.

getConsequent

public Pattern getConsequent()
Getter of the property consequent

Returns:
Returns the consequent.

setConsequent

public void setConsequent(Pattern consequent)
Setter of the property consequent

Parameters:
consequent - The consequent to set.

getConfidence

public double getConfidence()
Getter of the property confidence

Returns:
Returns the confidence.

setConfidence

public void setConfidence(double confidence)
Setter of the property confidence

Parameters:
confidence - The confidence to set.

calculateConfidence

public void calculateConfidence()
Calculates confidence of the rule