Klasse TransformationChecker
java.lang.Object
org.deidentifier.arx.framework.check.TransformationChecker
This class orchestrates the process of transforming and analyzing a dataset.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic enumThe type of scores. -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungTransformationChecker(DataManager manager, Metric<?> metric, ARXConfiguration.ARXConfigurationInternal config, int historyMaxSize, double snapshotSizeDataset, double snapshotSizeSnapshot, SolutionSpace<?> solutionSpace) Creates a new transformation checker. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcheck(Transformation<?> node) Checks the given transformation, computes the utility if it fulfills the privacy modelcheck(Transformation<?> node, boolean forceMeasureInfoLoss, TransformationChecker.ScoreType scoreType) Checks the given transformationReturns an associated transformation applicatorReturns the configurationString[]Returns the header of generalized dataReturns the checkers history, if any.Returns the input bufferMetric<?> Returns the utility measureintReturns the number of checks performedReturns the output buffervoidreset()Frees memory
-
Konstruktordetails
-
TransformationChecker
public TransformationChecker(DataManager manager, Metric<?> metric, ARXConfiguration.ARXConfigurationInternal config, int historyMaxSize, double snapshotSizeDataset, double snapshotSizeSnapshot, SolutionSpace<?> solutionSpace) Creates a new transformation checker.- Parameter:
manager- The managermetric- The metricconfig- The configurationhistoryMaxSize- The history max sizesnapshotSizeDataset- A history thresholdsnapshotSizeSnapshot- A history thresholdsolutionSpace-
-
-
Methodendetails
-
check
Checks the given transformation, computes the utility if it fulfills the privacy model- Parameter:
node-- Gibt zurück:
-
check
public TransformationResult check(Transformation<?> node, boolean forceMeasureInfoLoss, TransformationChecker.ScoreType scoreType) Checks the given transformation- Parameter:
node-forceMeasureInfoLoss-scoreType-- Gibt zurück:
-
getApplicator
Returns an associated transformation applicator- Gibt zurück:
-
getConfiguration
Returns the configuration- Gibt zurück:
-
getHeader
Returns the header of generalized data- Gibt zurück:
-
getHistory
Returns the checkers history, if any.- Gibt zurück:
-
getInputBuffer
Returns the input buffer- Gibt zurück:
-
getMetric
Returns the utility measure- Gibt zurück:
-
getNumChecksPerformed
public int getNumChecksPerformed()Returns the number of checks performed- Gibt zurück:
-
getOutputBuffer
Returns the output buffer- Gibt zurück:
-
reset
public void reset()Frees memory
-