merja.associations.regles
Class Regle

java.lang.Object
  extended bymerja.associations.regles.Regle

public class Regle
extends java.lang.Object


Constructor Summary
Regle(int[] first, int[] second)
           
 
Method Summary
 boolean exist(int[] itemsId)
           
 boolean exist(Regle regle)
           
 Regle[] geneDescendant()
           
 double getConfiance()
           
 int[] getFirst()
           
 RegleSet getRegleSet(Hash h)
           
 int[] getSecond()
           
 boolean getValable()
           
 void setConfiance(double conf)
           
 void setSupportFirst(int firstSupport)
           
 void setSupportSecond(int secondSupport)
           
 void setValable(boolean valable)
           
 java.lang.String toString(Hash h)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Regle

public Regle(int[] first,
             int[] second)
Method Detail

getFirst

public int[] getFirst()

getSecond

public int[] getSecond()

getValable

public boolean getValable()

exist

public boolean exist(Regle regle)

exist

public boolean exist(int[] itemsId)

geneDescendant

public Regle[] geneDescendant()

setValable

public void setValable(boolean valable)

setSupportFirst

public void setSupportFirst(int firstSupport)

setSupportSecond

public void setSupportSecond(int secondSupport)

setConfiance

public void setConfiance(double conf)

getConfiance

public double getConfiance()

getRegleSet

public RegleSet getRegleSet(Hash h)

toString

public java.lang.String toString(Hash h)