Klasse HashGroupifyDistribution
java.lang.Object
org.deidentifier.arx.framework.check.groupify.HashGroupifyDistribution
A distribution of equivalence classes
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interfaceA condition that may or may not be fulfilled for the distribution -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdoubleReturns the average class sizedoublegetFractionOfRecordsInClassesOfSize(int size) Returns the fraction of tuples that are in classes of the given sizeReturns a set of classes as an input for the risk modelintReturns the number of suppressed records.booleanisEmpty()Returns whether there are no records to considervoidSuppresses entries until the condition is fulfilledvoidSuppresses entries until the condition is fulfilled
-
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
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
Suppresses entries until the condition is fulfilled- Parameter:
condition-
-
suppressWhileNotFulfilledLinear
Suppresses entries until the condition is fulfilled- Parameter:
condition-
-