Klasse PrivacyCriterion

java.lang.Object
org.deidentifier.arx.criteria.PrivacyCriterion
Alle implementierten Schnittstellen:
Serializable
Bekannte direkte Unterklassen:
ExplicitPrivacyCriterion, ImplicitPrivacyCriterion, SampleBasedCriterion

public abstract class PrivacyCriterion extends Object implements Serializable
An abstract base class for privacy criteria.
Siehe auch:
  • Konstruktordetails

    • PrivacyCriterion

      public PrivacyCriterion(boolean monotonicWithSuppression, boolean monotonicWithGeneralization)
      Instantiates a new criterion.
      Parameter:
      monotonicWithSuppression -
      monotonicWithGeneralization -
  • Methodendetails

    • clone

      public abstract PrivacyCriterion clone()
      Clone
      Setzt außer Kraft:
      clone in Klasse Object
    • clone

      public PrivacyCriterion clone(DataSubset subset)
      Clone for local recoding
    • getDataSubset

      public DataSubset getDataSubset()
      If a privacy model uses a data subset, it must overwrite this method
      Gibt zurück:
    • getMinimalClassSize

      public int getMinimalClassSize()
      If a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizations
      Gibt zurück:
    • getPopulationModel

      public ARXPopulationModel getPopulationModel()
      Returns the associated population model, null if there is none.
      Gibt zurück:
      the populationModel
    • getRequirements

      public abstract int getRequirements()
      Returns the criterion's requirements.
      Gibt zurück:
    • getRiskThresholdJournalist

      public double getRiskThresholdJournalist()
      Return journalist risk threshold, 1 if there is none
      Gibt zurück:
    • getRiskThresholdMarketer

      public double getRiskThresholdMarketer()
      Return marketer risk threshold, 1 if there is none
      Gibt zurück:
    • getRiskThresholdProsecutor

      public double getRiskThresholdProsecutor()
      Return prosecutor risk threshold, 1 if there is none
      Gibt zurück:
    • getSubset

      public DataSubset getSubset()
      Returns a research subset, null if no subset is available
      Gibt zurück:
    • initialize

      public void initialize(DataManager manager, ARXConfiguration config)
      Override this to initialize the criterion.
      Parameter:
      manager -
      config - TODO
    • isHeuristicSearchSupported

      public boolean isHeuristicSearchSupported()
      Returns whether the criterion supports heuristic search strategies.
      Gibt zurück:
    • isHeuristicSearchWithTimeLimitSupported

      public boolean isHeuristicSearchWithTimeLimitSupported()
      Returns whether the criterion supports heuristic search strategies with time limits.
      Gibt zurück:
    • isOptimalSearchSupported

      public boolean isOptimalSearchSupported()
      Returns whether the criterion supports optimal search strategies.
      Gibt zurück:
    • isAnonymous

      public abstract boolean isAnonymous(Transformation<?> node, HashGroupifyEntry entry)
      Implement this, to enforce the criterion.
      Parameter:
      node - TODO
      entry -
      Gibt zurück:
    • isLocalRecodingSupported

      public abstract boolean isLocalRecodingSupported()
      Returns whether the criterion supports local recoding.
      Gibt zurück:
    • isMinimalClassSizeAvailable

      public boolean isMinimalClassSizeAvailable()
      If a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizations
      Gibt zurück:
    • isMonotonicWithGeneralization

      public boolean isMonotonicWithGeneralization()
      Returns whether the criterion is monotonic with generalization.
      Gibt zurück:
    • isMonotonicWithSuppression

      public boolean isMonotonicWithSuppression()
      Returns whether the criterion is monotonic with tuple suppression.
      Gibt zurück:
    • isSampleBased

      public boolean isSampleBased()
      Is this criterion based on the overall sample
      Gibt zurück:
    • isSubsetAvailable

      public boolean isSubsetAvailable()
      If a privacy model uses a data subset, it must overwrite this method
      Gibt zurück:
    • render

      public abstract ElementData render()
      Renders the privacy model
      Gibt zurück:
    • toString

      public abstract String toString()
      Returns a string representation.
      Setzt außer Kraft:
      toString in Klasse Object
      Gibt zurück: