Package org.deidentifier.arx.gui.model
Klasse ModelTClosenessCriterion
java.lang.Object
org.deidentifier.arx.gui.model.ModelCriterion
org.deidentifier.arx.gui.model.ModelExplicitCriterion
org.deidentifier.arx.gui.model.ModelTClosenessCriterion
- Alle implementierten Schnittstellen:
Serializable
This class implements a model for the t-closeness criterion.
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final intVariant.static final intVariant.static final intVariant. -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungModelTClosenessCriterion(String attribute) Creates a new instance.ModelTClosenessCriterion(String attribute, int variant, double t) Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungclone()ClonegetCriterion(Model model) Implement this to return the criterion.getLabel()Implement this to return a string representation.doublegetT()Returns T.intReturns the variant.voidparse(ModelCriterion criterion, boolean defaultConfiguration) Parsevoidpull(ModelExplicitCriterion criterion) Implement this, to update data.voidsetT(double t) Sets T.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_EQUAL
public static final int VARIANT_EQUALVariant.- Siehe auch:
-
VARIANT_HIERARCHICAL
public static final int VARIANT_HIERARCHICALVariant.- Siehe auch:
-
VARIANT_ORDERED
public static final int VARIANT_ORDEREDVariant.- Siehe auch:
-
-
Konstruktordetails
-
ModelTClosenessCriterion
Creates a new instance.- Parameter:
attribute-
-
ModelTClosenessCriterion
Creates a new instance.- Parameter:
attribute-
-
-
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:
-
getLabel
Beschreibung aus Klasse kopiert:ModelCriterionImplement this to return a string representation.- Angegeben von:
getLabelin KlasseModelCriterion- Gibt zurück:
-
getT
public double getT()Returns T.- 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-
-
setT
public void setT(double t) Sets T.- Parameter:
t-
-
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:
-