public class NodeChecker
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
NodeChecker.Result
The result of a check.
|
Modifier and Type | Field and Description |
---|---|
protected HashGroupify |
currentGroupify
The current hash groupify.
|
protected History |
history
The history.
|
protected HashGroupify |
lastGroupify
The last hash groupify.
|
protected Metric<?> |
metric
The metric.
|
protected StateMachine |
stateMachine
The state machine.
|
protected Transformer |
transformer
The data transformer.
|
Constructor and Description |
---|
NodeChecker(DataManager manager,
Metric<?> metric,
ARXConfiguration.ARXConfigurationInternal config,
int historyMaxSize,
double snapshotSizeDataset,
double snapshotSizeSnapshot)
Creates a new NodeChecker instance.
|
Modifier and Type | Method and Description |
---|---|
TransformedData |
applyTransformation(Node transformation)
Applies the given transformation and returns the dataset
|
NodeChecker.Result |
check(Node node) |
NodeChecker.Result |
check(Node node,
boolean forceMeasureInfoLoss) |
ARXConfiguration.ARXConfigurationInternal |
getConfiguration()
Returns the configuration
|
History |
getHistory()
Returns the checkers history, if any.
|
Metric<?> |
getMetric()
Returns the utility measure
|
protected HashGroupify currentGroupify
protected History history
protected HashGroupify lastGroupify
protected Metric<?> metric
protected StateMachine stateMachine
protected Transformer transformer
public NodeChecker(DataManager manager, Metric<?> metric, ARXConfiguration.ARXConfigurationInternal config, int historyMaxSize, double snapshotSizeDataset, double snapshotSizeSnapshot)
manager
- The managermetric
- The metricconfig
- The configurationhistoryMaxSize
- The history max sizesnapshotSizeDataset
- A history thresholdsnapshotSizeSnapshot
- A history thresholdpublic TransformedData applyTransformation(Node transformation)
transformation
- public NodeChecker.Result check(Node node)
public NodeChecker.Result check(Node node, boolean forceMeasureInfoLoss)
public ARXConfiguration.ARXConfigurationInternal getConfiguration()
public History getHistory()
public Metric<?> getMetric()