Package org.deidentifier.arx.algorithm
Klasse FLASHConfiguration
java.lang.Object
org.deidentifier.arx.algorithm.FLASHConfiguration
This class parameterizes a phase the interwoven two-phase Flash algorithm.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic FLASHConfigurationcreateBinaryPhaseConfiguration(FLASHPhaseConfiguration config, History.StorageStrategy storageStrategy, boolean pruneWithLowerBounds, boolean anonymityPropertyPredictable) Creates a binary-phase only configuration.static FLASHConfigurationcreateLinearPhaseConfiguration(FLASHPhaseConfiguration config, History.StorageStrategy storageStrategy, boolean pruneWithLowerBounds, boolean anonymityPropertyPredictable) Creates a linear-phase only configuration.static FLASHConfigurationcreateTwoPhaseConfiguration(FLASHPhaseConfiguration binaryPhaseConfiguration, FLASHPhaseConfiguration linearPhaseConfiguration, History.StorageStrategy storageStrategy, boolean pruneWithLowerBounds, boolean anonymityPropertyPredictable) Creates a two-phase configuration.Getter.Getter.Getter: A trigger controlling which transformations are snapshotted.booleanReturns whether or not the anonymity property is predictablebooleanIs a binary phase required.booleanIs a linear phase required.booleanPrune based on lower bounds from monotonic shares of metrics for information loss?.
-
Methodendetails
-
createBinaryPhaseConfiguration
public static FLASHConfiguration createBinaryPhaseConfiguration(FLASHPhaseConfiguration config, History.StorageStrategy storageStrategy, boolean pruneWithLowerBounds, boolean anonymityPropertyPredictable) Creates a binary-phase only configuration.- Parameter:
config-storageStrategy-pruneWithLowerBounds-anonymityPropertyPredictable-- Gibt zurück:
-
createLinearPhaseConfiguration
public static FLASHConfiguration createLinearPhaseConfiguration(FLASHPhaseConfiguration config, History.StorageStrategy storageStrategy, boolean pruneWithLowerBounds, boolean anonymityPropertyPredictable) Creates a linear-phase only configuration.- Parameter:
config-storageStrategy-pruneWithLowerBounds-anonymityPropertyPredictable-- Gibt zurück:
-
createTwoPhaseConfiguration
public static FLASHConfiguration createTwoPhaseConfiguration(FLASHPhaseConfiguration binaryPhaseConfiguration, FLASHPhaseConfiguration linearPhaseConfiguration, History.StorageStrategy storageStrategy, boolean pruneWithLowerBounds, boolean anonymityPropertyPredictable) Creates a two-phase configuration.- Parameter:
binaryPhaseConfiguration-linearPhaseConfiguration-storageStrategy-pruneWithLowerBounds-anonymityPropertyPredictable-- Gibt zurück:
-
getBinaryPhaseConfiguration
Getter.- Gibt zurück:
-
getLinearPhaseConfiguration
Getter.- Gibt zurück:
-
getSnapshotStorageStrategy
Getter: A trigger controlling which transformations are snapshotted.- Gibt zurück:
-
isAnonymityPropertyPredicable
public boolean isAnonymityPropertyPredicable()Returns whether or not the anonymity property is predictable- Gibt zurück:
-
isBinaryPhaseRequired
public boolean isBinaryPhaseRequired()Is a binary phase required.- Gibt zurück:
-
isLinearPhaseRequired
public boolean isLinearPhaseRequired()Is a linear phase required.- Gibt zurück:
-
isPruneInsufficientUtility
public boolean isPruneInsufficientUtility()Prune based on lower bounds from monotonic shares of metrics for information loss?.- Gibt zurück:
-