Klasse HashGroupifyDistribution

java.lang.Object
org.deidentifier.arx.framework.check.groupify.HashGroupifyDistribution

public class HashGroupifyDistribution extends Object
A distribution of equivalence classes
  • Methodendetails

    • getAverageClassSize

      public double getAverageClassSize()
      Returns the average class size
      Gibt zurück:
    • getFractionOfRecordsInClassesOfSize

      public double getFractionOfRecordsInClassesOfSize(int size)
      Returns the fraction of tuples that are in classes of the given size
      Parameter:
      size -
      Gibt zurück:
    • getHistogram

      public RiskModelHistogram getHistogram()
      Returns a set of classes as an input for the risk model
    • internalGetNumSuppressedRecords

      public int internalGetNumSuppressedRecords()
      Returns the number of suppressed records. This uses the internal counting scheme, which means that records that have been fully generalized are *not* considered suppressed, although they are interpreted this way by the risk model.
      Gibt zurück:
    • isEmpty

      public boolean isEmpty()
      Returns whether there are no records to consider
      Gibt zurück:
    • suppressWhileNotFulfilledBinary

      public void suppressWhileNotFulfilledBinary(HashGroupifyDistribution.PrivacyCondition condition)
      Suppresses entries until the condition is fulfilled
      Parameter:
      condition -
    • suppressWhileNotFulfilledLinear

      public void suppressWhileNotFulfilledLinear(HashGroupifyDistribution.PrivacyCondition condition)
      Suppresses entries until the condition is fulfilled
      Parameter:
      condition -