Package org.deidentifier.arx.gui.model
Klasse ModelLDiversityCriterion
java.lang.Object
org.deidentifier.arx.gui.model.ModelCriterion
org.deidentifier.arx.gui.model.ModelExplicitCriterion
org.deidentifier.arx.gui.model.ModelLDiversityCriterion
- Alle implementierten Schnittstellen:
Serializable
This class implements a model for the l-diversity criterion.
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final intVariant.static final intVariant.static final intVariant.static final intVariant. -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungModelLDiversityCriterion(String attribute) Creates a new instance.ModelLDiversityCriterion(String attribute, int variant, int l, double c) Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungclone()ClonedoublegetC()Gets C.getCriterion(Model model) Implement this to return the criterion.intgetL()Returns L.getLabel()Implement this to return a string representation.intReturns the variant.voidparse(ModelCriterion criterion, boolean defaultConfiguration) Parsevoidpull(ModelExplicitCriterion criterion) Implement this, to update data.voidsetC(double c) Sets C.voidsetL(int l) Sets L.voidsetVariant(int variant) Sets the variant.toString()Implement this to return a string representation.Von Klasse geerbte Methoden org.deidentifier.arx.gui.model.ModelExplicitCriterion
getAttributeVon Klasse geerbte Methoden org.deidentifier.arx.gui.model.ModelCriterion
isEnabled, setEnabled
-
Felddetails
-
VARIANT_DISTINCT
public static final int VARIANT_DISTINCTVariant.- Siehe auch:
-
VARIANT_SHANNON_ENTROPY
public static final int VARIANT_SHANNON_ENTROPYVariant.- Siehe auch:
-
VARIANT_GRASSBERGER_ENTROPY
public static final int VARIANT_GRASSBERGER_ENTROPYVariant.- Siehe auch:
-
VARIANT_RECURSIVE
public static final int VARIANT_RECURSIVEVariant.- Siehe auch:
-
-
Konstruktordetails
-
ModelLDiversityCriterion
Creates a new instance.- Parameter:
attribute-
-
ModelLDiversityCriterion
Creates a new instance.- Parameter:
attribute-variant-l-c-
-
-
Methodendetails
-
clone
Beschreibung aus Klasse kopiert:ModelCriterionClone- Angegeben von:
clonein KlasseModelCriterion
-
getC
public double getC()Gets C.- Gibt zurück:
-
getCriterion
Beschreibung aus Klasse kopiert:ModelCriterionImplement this to return the criterion.- Angegeben von:
getCriterionin KlasseModelCriterion- Parameter:
model-- Gibt zurück:
-
getL
public int getL()Returns L.- Gibt zurück:
-
getLabel
Beschreibung aus Klasse kopiert:ModelCriterionImplement this to return a string representation.- Angegeben von:
getLabelin KlasseModelCriterion- Gibt zurück:
-
getVariant
public int getVariant()Returns the variant.- Gibt zurück:
-
parse
Beschreibung aus Klasse kopiert:ModelCriterionParse- Angegeben von:
parsein KlasseModelCriterion- Parameter:
criterion-defaultConfiguration- Defines whether the model represents a typical parameter configuration for the criterion
-
pull
Beschreibung aus Klasse kopiert:ModelExplicitCriterionImplement this, to update data.- Angegeben von:
pullin KlasseModelExplicitCriterion- Parameter:
criterion-
-
setC
public void setC(double c) Sets C.- Parameter:
c-
-
setL
public void setL(int l) Sets L.- Parameter:
l-
-
setVariant
public void setVariant(int variant) Sets the variant.- Parameter:
variant-
-
toString
Beschreibung aus Klasse kopiert:ModelCriterionImplement this to return a string representation.- Angegeben von:
toStringin KlasseModelCriterion- Gibt zurück:
-