public class NodeChecker
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
NodeChecker.Result
The result of a check.
|
Constructor and Description |
---|
NodeChecker(DataManager manager,
Metric<?> metric,
ARXConfiguration.ARXConfigurationInternal config,
int historyMaxSize,
double snapshotSizeDataset,
double snapshotSizeSnapshot,
SolutionSpace solutionSpace)
Creates a new NodeChecker instance.
|
Modifier and Type | Method and Description |
---|---|
TransformedData |
applyTransformation(Transformation transformation)
Applies the given transformation and returns the dataset
|
TransformedData |
applyTransformation(Transformation transformation,
Dictionary microaggregationDictionary)
Applies the given transformation and returns the dataset
|
NodeChecker.Result |
check(Transformation node)
Checks the given transformation, computes the utility if it fulfills the privacy model
|
NodeChecker.Result |
check(Transformation node,
boolean forceMeasureInfoLoss)
Checks the given transformation
|
ARXConfiguration.ARXConfigurationInternal |
getConfiguration()
Returns the configuration
|
History |
getHistory()
Returns the checkers history, if any.
|
int[][] |
getInputBuffer()
Returns the input buffer
|
Metric<?> |
getMetric()
Returns the utility measure
|
public NodeChecker(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 TransformedData applyTransformation(Transformation transformation)
transformation
- public TransformedData applyTransformation(Transformation transformation, Dictionary microaggregationDictionary)
transformation
- microaggregationDictionary
- A dictionary for microaggregated valuespublic NodeChecker.Result check(Transformation node)
node
- public NodeChecker.Result check(Transformation node, boolean forceMeasureInfoLoss)
node
- forceMeasureInfoLoss
- public int[][] getInputBuffer()
public ARXConfiguration.ARXConfigurationInternal getConfiguration()
public History getHistory()
public Metric<?> getMetric()