Package org.deidentifier.arx.gui.model
Klasse ModelProfitabilityCriterion
java.lang.Object
org.deidentifier.arx.gui.model.ModelCriterion
org.deidentifier.arx.gui.model.ModelImplicitCriterion
org.deidentifier.arx.gui.model.ModelProfitabilityCriterion
- Alle implementierten Schnittstellen:
Serializable
This class provides a model for the game-theoretic privacy model
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic enumThe attacker model used by the privacy model -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a new instanceModelProfitabilityCriterion(ModelProfitabilityCriterion.AttackerModel attackerModel, boolean allowAttacks) 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.booleanvoidparse(ModelCriterion criterion, boolean defaultConfiguration) ParsevoidsetAllowAttacks(boolean allowAttacks) Defines whether we allow attacks to happenvoidsetAttackerModel(ModelProfitabilityCriterion.AttackerModel attackerModel) Defines the attacker modeltoString()Implement this to return a string representation.Von Klasse geerbte Methoden org.deidentifier.arx.gui.model.ModelCriterion
isEnabled, setEnabled
-
Konstruktordetails
-
ModelProfitabilityCriterion
public ModelProfitabilityCriterion()Creates a new instance -
ModelProfitabilityCriterion
public ModelProfitabilityCriterion(ModelProfitabilityCriterion.AttackerModel attackerModel, boolean allowAttacks) Creates a new instance- Parameter:
attackerModel-allowAttacks-
-
-
Methodendetails
-
clone
Beschreibung aus Klasse kopiert:ModelCriterionClone- Angegeben von:
clonein KlasseModelCriterion
-
getAttackerModel
- Gibt zurück:
- the attackerModel
-
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:
-
isAllowAttacks
public boolean isAllowAttacks()- 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
-
setAllowAttacks
public void setAllowAttacks(boolean allowAttacks) Defines whether we allow attacks to happen- Parameter:
allowAttacks-
-
setAttackerModel
Defines the attacker model- Parameter:
attackerModel-
-
toString
Beschreibung aus Klasse kopiert:ModelCriterionImplement this to return a string representation.- Angegeben von:
toStringin KlasseModelCriterion- Gibt zurück:
-