Package org.deidentifier.arx.gui.model
Klasse ModelBLikenessCriterion
java.lang.Object
org.deidentifier.arx.gui.model.ModelCriterion
org.deidentifier.arx.gui.model.ModelExplicitCriterion
org.deidentifier.arx.gui.model.ModelBLikenessCriterion
- Alle implementierten Schnittstellen:
Serializable
This class implements a model for the b-likeness privacy model
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungModelBLikenessCriterion(String attribute) Creates a new instance.ModelBLikenessCriterion(String attribute, double beta, boolean enhanced) Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungclone()ClonedoublegetB()Returns B.getCriterion(Model model) Implement this to return the criterion.getLabel()Implement this to return a string representation.booleanReturns whether this is the enhanced variantvoidparse(ModelCriterion criterion, boolean defaultConfiguration) Parsevoidpull(ModelExplicitCriterion criterion) Implement this, to update data.voidsetB(double beta) Sets Beta.voidsetEnhanced(boolean enhanced) Sets whether or not this is the enhanced varianttoString()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
-
Konstruktordetails
-
ModelBLikenessCriterion
Creates a new instance.- Parameter:
attribute-
-
ModelBLikenessCriterion
Creates a new instance.- Parameter:
attribute-beta-enhanced-
-
-
Methodendetails
-
clone
Beschreibung aus Klasse kopiert:ModelCriterionClone- Angegeben von:
clonein KlasseModelCriterion
-
getCriterion
Beschreibung aus Klasse kopiert:ModelCriterionImplement this to return the criterion.- Angegeben von:
getCriterionin KlasseModelCriterion- Parameter:
model-- Gibt zurück:
-
getB
public double getB()Returns B.- Gibt zurück:
-
isEnhanced
public boolean isEnhanced()Returns whether this is the enhanced variant- Gibt zurück:
-
getLabel
Beschreibung aus Klasse kopiert:ModelCriterionImplement this to return a string representation.- Angegeben von:
getLabelin KlasseModelCriterion- 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-
-
setB
public void setB(double beta) Sets Beta.- Parameter:
beta-
-
setEnhanced
public void setEnhanced(boolean enhanced) Sets whether or not this is the enhanced variant- Parameter:
enhanced-
-
toString
Beschreibung aus Klasse kopiert:ModelCriterionImplement this to return a string representation.- Angegeben von:
toStringin KlasseModelCriterion- Gibt zurück:
-