|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmerja.associations.itemFreq.GeneItems
Field Summary | |
protected static Hash |
hash
Table de correspodance remarque : utiliser avec précautions |
protected static int |
hauteur
Hauteur de l'arbre, surtout utilisé pour les parcours remarque : utiliser avec précautions |
static int |
nbIdItemSupport
Données statistique sur le nombre d'itemset fréquents remarque : peut -être manipulé n'importe comment ça dérange pas l'algo |
static int |
nbNoeud
Données statistique sur le nombre de noeud remarque : peut -être manipulé n'importe comment ça dérange pas l'algo |
protected static NoeudItem |
noeud0
Premier noeud dans l'arbre remarque : utiliser avec précautions |
protected static int |
supportMin
Support minimun utilisé lors de la suppression des items candidats remarque : utiliser avec précautions |
Constructor Summary | |
GeneItems(Hash hash,
int supportMin)
Créé une instance de GeneItem cette classe permet de manipuler l'arbre des ensembles des items fréquens sans rentrer dans les détails de la programmation |
Method Summary | |
void |
calculSupport(Transaction transaction)
Calcule le support des ensembles appartenant a cette transaction Le support est calculé seulement pour les nouveaus ensembles candidtas |
java.util.Vector |
getItemsFrequents()
|
java.util.Vector |
getItemsFrequentsString()
Obsoleste Retourne tous les items Frequents sous forme de string dans un vector |
java.util.Vector |
getItemsSetFrequents()
|
protected int |
getNbItems()
|
int |
getSupport(int[] listeItems)
Permet de retrouver le support d'un ensemble fréquents ATTENTION il faut que l'ensemble d'items fréquents soit dans l'arbre sinon ça PLANTE !!!!!! |
boolean |
jointure()
Création des ensembles candidats à partir des ensembles fréquents |
static void |
main(java.lang.String[] args)
|
void |
removes()
supprime les ensembles ont support insuffisant |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static int supportMin
protected static int hauteur
protected static NoeudItem noeud0
protected static Hash hash
public static int nbNoeud
public static int nbIdItemSupport
Constructor Detail |
public GeneItems(Hash hash, int supportMin)
hash
- : table de correspondance entre les items et leurs identifiantssupportMin
- : Support minimum utilisé lors de la suppresion des ensembles
candidatsMethod Detail |
public java.lang.String toString()
java.lang.Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
public java.util.Vector getItemsFrequentsString()
public void removes()
public void calculSupport(Transaction transaction)
transaction
- ben une transactionpublic java.util.Vector getItemsSetFrequents()
public java.util.Vector getItemsFrequents()
public int getSupport(int[] listeItems)
listeItems
- corresondant à un ensemble d'items fréquents
public boolean jointure()
protected int getNbItems()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |