|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectikbs.classification.distance.ComputeDistance
public class ComputeDistance
ComputeDistance permet de calculer une distance entre un ensemble de description (Case)
| Field Summary | |
|---|---|
protected AfficheClasses |
ac
|
protected ValSchema |
base
|
protected java.util.Vector |
cases
|
static int |
CDG_STRUCT
|
static int |
choixNumeric
|
static int |
choixStruct
|
static int |
DGR
|
protected float |
distance
|
protected java.util.Hashtable |
distances
|
static int |
GOWDA
|
static int |
HAUSDORFF
|
static int |
ICHINO
|
protected java.lang.Thread |
monThread
|
static int |
NONE_STRUCT
|
protected Property |
property
|
| Constructor Summary | |
|---|---|
ComputeDistance(ValSchema base,
Case c1,
Case c2)
Constructeur pour une mesure de distance sur 2 cas avec paramètre choix de la distance par défaut |
|
ComputeDistance(ValSchema base,
Case c1,
Case c2,
int choixNumeric)
Constructeur pour une mesure de distance sur 2 cas et paramètre choix de la distance |
|
ComputeDistance(ValSchema base,
java.util.Vector cases)
Constructeur de base |
|
ComputeDistance(ValSchema base,
java.util.Vector cases,
int choixNumeric)
Constructeur pour une mesure de distance sur n cas Avec paramètres de propriétés |
|
| Method Summary | |
|---|---|
void |
addCase(Case c)
Ajouter un cas |
void |
calculDistance()
|
void |
calculDistance2()
La méthode qui s'occupe de calculer les distances |
protected NumericDistance |
chooseMesure(Value v1,
Value v2)
|
Distance |
creerDistance(DescriptiveElement attribut,
Value v1,
Value v2)
|
NumericDistance |
creerNumericDistance(Value v1,
Value v2)
Pour créer un objet distance permettant de calculer la distance entre 2 variables numériques |
Distance |
creerSymbolicDistance(Value v1,
Value v2)
Pour créer un objet distance permettant de calculer la distance entre 2 variables symboliques |
Distance |
creerTaxonomicDistance(Value v1,
Value v2)
Pour créer un objet distance permettant de calculer la distance entre 2 variables taxonomiques |
java.util.Vector |
enumObjAbsAttributs()
Retourne l'Enumeration de la liste des attributs du modele associe au premier cas |
ValSchema |
getBase()
Accès à la base |
float |
getDistance()
Méthode d'accès à distance |
void |
initDistances()
Initialisation du tableau des Distances par attributs |
void |
run()
|
void |
setAfficheClasses(AfficheClasses ac)
Affectation de AffichesClasses |
void |
setBases(Case c1,
Case c2)
Affectation des 2 cas |
void |
setDistance(float d)
Méthode d'affectation de distance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DGR
public static final int GOWDA
public static final int ICHINO
public static final int HAUSDORFF
public static final int NONE_STRUCT
public static final int CDG_STRUCT
public static int choixNumeric
public static int choixStruct
protected float distance
protected ValSchema base
protected java.util.Vector cases
protected java.util.Hashtable distances
protected Property property
protected AfficheClasses ac
protected java.lang.Thread monThread
| Constructor Detail |
|---|
public ComputeDistance(ValSchema base,
java.util.Vector cases)
public ComputeDistance(ValSchema base,
java.util.Vector cases,
int choixNumeric)
public ComputeDistance(ValSchema base,
Case c1,
Case c2)
public ComputeDistance(ValSchema base,
Case c1,
Case c2,
int choixNumeric)
| Method Detail |
|---|
public void setAfficheClasses(AfficheClasses ac)
public void setBases(Case c1,
Case c2)
public ValSchema getBase()
public float getDistance()
public void setDistance(float d)
public void addCase(Case c)
public void initDistances()
public java.util.Vector enumObjAbsAttributs()
public NumericDistance creerNumericDistance(Value v1,
Value v2)
protected NumericDistance chooseMesure(Value v1,
Value v2)
public Distance creerSymbolicDistance(Value v1,
Value v2)
public Distance creerTaxonomicDistance(Value v1,
Value v2)
public void calculDistance()
public Distance creerDistance(DescriptiveElement attribut,
Value v1,
Value v2)
public void calculDistance2()
public void run()
run in interface java.lang.Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||