Klasse TransformationChecker

java.lang.Object
org.deidentifier.arx.framework.check.TransformationChecker

public class TransformationChecker extends Object
This class orchestrates the process of transforming and analyzing a dataset.
  • 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 manager
      metric - The metric
      config - The configuration
      historyMaxSize - The history max size
      snapshotSizeDataset - A history threshold
      snapshotSizeSnapshot - A history threshold
      solutionSpace -
  • Methodendetails

    • check

      public TransformationResult check(Transformation<?> node)
      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

      public TransformationApplicator getApplicator()
      Returns an associated transformation applicator
      Gibt zurück:
    • getConfiguration

      public ARXConfiguration.ARXConfigurationInternal getConfiguration()
      Returns the configuration
      Gibt zurück:
    • getHeader

      public String[] getHeader()
      Returns the header of generalized data
      Gibt zurück:
    • getHistory

      public History getHistory()
      Returns the checkers history, if any.
      Gibt zurück:
    • getInputBuffer

      public DataMatrix getInputBuffer()
      Returns the input buffer
      Gibt zurück:
    • getMetric

      public Metric<?> getMetric()
      Returns the utility measure
      Gibt zurück:
    • getNumChecksPerformed

      public int getNumChecksPerformed()
      Returns the number of checks performed
      Gibt zurück:
    • getOutputBuffer

      public DataMatrix getOutputBuffer()
      Returns the output buffer
      Gibt zurück:
    • reset

      public void reset()
      Frees memory