Package org.deidentifier.arx.gui.model
Klasse ModelRiskBasedCriterion
java.lang.Object
org.deidentifier.arx.gui.model.ModelCriterion
org.deidentifier.arx.gui.model.ModelImplicitCriterion
org.deidentifier.arx.gui.model.ModelRiskBasedCriterion
- Alle implementierten Schnittstellen:
Serializable
This class implements a model for risk-based criteria
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final intVariant.static final intVariant.static final intVariant.static final intVariant.static final intVariant.static final intVariant. -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungModelRiskBasedCriterion(int variant) Creates a new instanceModelRiskBasedCriterion(int variant, double threshold) 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.doubleReturns the threshold.intReturns the variantvoidparse(ModelCriterion criterion, boolean defaultConfiguration) ParsevoidsetThreshold(double threshold) Sets the threshold.voidsetVariant(int variant) Sets the variant.toString()Implement this to return a string representation.Von Klasse geerbte Methoden org.deidentifier.arx.gui.model.ModelCriterion
isEnabled, setEnabled
-
Felddetails
-
VARIANT_AVERAGE_RISK
public static final int VARIANT_AVERAGE_RISKVariant.- Siehe auch:
-
VARIANT_SAMPLE_UNIQUES
public static final int VARIANT_SAMPLE_UNIQUESVariant.- Siehe auch:
-
VARIANT_POPULATION_UNIQUES_DANKAR
public static final int VARIANT_POPULATION_UNIQUES_DANKARVariant.- Siehe auch:
-
VARIANT_POPULATION_UNIQUES_PITMAN
public static final int VARIANT_POPULATION_UNIQUES_PITMANVariant.- Siehe auch:
-
VARIANT_POPULATION_UNIQUES_ZAYATZ
public static final int VARIANT_POPULATION_UNIQUES_ZAYATZVariant.- Siehe auch:
-
VARIANT_POPULATION_UNIQUES_SNB
public static final int VARIANT_POPULATION_UNIQUES_SNBVariant.- Siehe auch:
-
-
Konstruktordetails
-
ModelRiskBasedCriterion
public ModelRiskBasedCriterion(int variant) Creates a new instance- Parameter:
variant-
-
ModelRiskBasedCriterion
public ModelRiskBasedCriterion(int variant, double threshold) Creates a new instance- Parameter:
variant-threshold-
-
-
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:
-
getThreshold
public double getThreshold()Returns the threshold.- 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
-
setThreshold
public void setThreshold(double threshold) Sets the threshold.- Parameter:
k-
-
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:
-