public class TransformationChecker
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TransformationChecker.ScoreType
The type of scores.
|
Constructor and Description |
---|
TransformationChecker(DataManager manager,
Metric<?> metric,
ARXConfiguration.ARXConfigurationInternal config,
int historyMaxSize,
double snapshotSizeDataset,
double snapshotSizeSnapshot,
SolutionSpace<?> solutionSpace)
Creates a new transformation checker.
|
Modifier and Type | Method and Description |
---|---|
TransformationResult |
check(Transformation<?> node)
Checks the given transformation, computes the utility if it fulfills the privacy model
|
TransformationResult |
check(Transformation<?> node,
boolean forceMeasureInfoLoss,
TransformationChecker.ScoreType scoreType)
Checks the given transformation
|
TransformationApplicator |
getApplicator()
Returns an associated transformation applicator
|
ARXConfiguration.ARXConfigurationInternal |
getConfiguration()
Returns the configuration
|
java.lang.String[] |
getHeader()
Returns the header of generalized data
|
History |
getHistory()
Returns the checkers history, if any.
|
DataMatrix |
getInputBuffer()
Returns the input buffer
|
Metric<?> |
getMetric()
Returns the utility measure
|
DataMatrix |
getOutputBuffer()
Returns the output buffer
|
void |
reset()
Frees memory
|
public TransformationChecker(DataManager manager, Metric<?> metric, ARXConfiguration.ARXConfigurationInternal config, int historyMaxSize, double snapshotSizeDataset, double snapshotSizeSnapshot, SolutionSpace<?> solutionSpace)
manager
- The managermetric
- The metricconfig
- The configurationhistoryMaxSize
- The history max sizesnapshotSizeDataset
- A history thresholdsnapshotSizeSnapshot
- A history thresholdsolutionSpace
- public TransformationResult check(Transformation<?> node)
node
- public TransformationResult check(Transformation<?> node, boolean forceMeasureInfoLoss, TransformationChecker.ScoreType scoreType)
node
- forceMeasureInfoLoss
- scoreType
- public TransformationApplicator getApplicator()
public ARXConfiguration.ARXConfigurationInternal getConfiguration()
public java.lang.String[] getHeader()
public History getHistory()
public DataMatrix getInputBuffer()
public Metric<?> getMetric()
public DataMatrix getOutputBuffer()
public void reset()