Klasse ModelRiskBasedCriterion

Alle implementierten Schnittstellen:
Serializable

public class ModelRiskBasedCriterion extends ModelImplicitCriterion
This class implements a model for risk-based criteria
Siehe auch:
  • Felddetails

    • VARIANT_AVERAGE_RISK

      public static final int VARIANT_AVERAGE_RISK
      Variant.
      Siehe auch:
    • VARIANT_SAMPLE_UNIQUES

      public static final int VARIANT_SAMPLE_UNIQUES
      Variant.
      Siehe auch:
    • VARIANT_POPULATION_UNIQUES_DANKAR

      public static final int VARIANT_POPULATION_UNIQUES_DANKAR
      Variant.
      Siehe auch:
    • VARIANT_POPULATION_UNIQUES_PITMAN

      public static final int VARIANT_POPULATION_UNIQUES_PITMAN
      Variant.
      Siehe auch:
    • VARIANT_POPULATION_UNIQUES_ZAYATZ

      public static final int VARIANT_POPULATION_UNIQUES_ZAYATZ
      Variant.
      Siehe auch:
    • VARIANT_POPULATION_UNIQUES_SNB

      public static final int VARIANT_POPULATION_UNIQUES_SNB
      Variant.
      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

      public ModelRiskBasedCriterion clone()
      Beschreibung aus Klasse kopiert: ModelCriterion
      Clone
      Angegeben von:
      clone in Klasse ModelCriterion
    • getCriterion

      public PrivacyCriterion getCriterion(Model model)
      Beschreibung aus Klasse kopiert: ModelCriterion
      Implement this to return the criterion.
      Angegeben von:
      getCriterion in Klasse ModelCriterion
      Parameter:
      model -
      Gibt zurück:
    • getLabel

      public String getLabel()
      Beschreibung aus Klasse kopiert: ModelCriterion
      Implement this to return a string representation.
      Angegeben von:
      getLabel in Klasse ModelCriterion
      Gibt zurück:
    • getThreshold

      public double getThreshold()
      Returns the threshold.
      Gibt zurück:
    • getVariant

      public int getVariant()
      Returns the variant
      Gibt zurück:
    • parse

      public void parse(ModelCriterion criterion, boolean defaultConfiguration)
      Beschreibung aus Klasse kopiert: ModelCriterion
      Parse
      Angegeben von:
      parse in Klasse ModelCriterion
      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

      public String toString()
      Beschreibung aus Klasse kopiert: ModelCriterion
      Implement this to return a string representation.
      Angegeben von:
      toString in Klasse ModelCriterion
      Gibt zurück: