Klasse Transformation<T>

java.lang.Object
org.deidentifier.arx.framework.lattice.Transformation<T>
Bekannte direkte Unterklassen:
TransformationIntArray, TransformationLong

public abstract class Transformation<T> extends Object
The interface Transformation.
  • Felddetails

    • identifier

      protected T identifier
      The id.
    • lattice

      protected final de.linearbits.jhpl.Lattice<Integer,Integer> lattice
      The lattice
    • solutionSpace

      protected final SolutionSpace<T> solutionSpace
      The solution space
    • levelARX

      protected int levelARX
      The level
    • levelJHPL

      protected int levelJHPL
      The level
    • transformationARX

      protected int[] transformationARX
      Transformation in ARX's space
    • transformationJHPL

      protected final int[] transformationJHPL
      Transformation in JHPL's space
  • Konstruktordetails

    • Transformation

      protected Transformation(int[] transformationARX, de.linearbits.jhpl.Lattice<Integer,Integer> lattice, SolutionSpace<T> solutionSpace)
      Instantiates a new transformation.
      Parameter:
      transformationARX - In ARX space
      lattice -
      solutionSpace -
  • Methodendetails

    • getData

      public Object getData()
      Returns associated data
      Gibt zurück:
    • getGeneralization

      public int[] getGeneralization()
      Returns the generalization
      Gibt zurück:
    • getIdentifier

      public T getIdentifier()
      Returns the id
      Gibt zurück:
    • getInformationLoss

      public InformationLoss<?> getInformationLoss()
      Returns the information loss
      Gibt zurück:
    • getLevel

      public int getLevel()
      Return level
      Gibt zurück:
    • getLowerBound

      public InformationLoss<?> getLowerBound()
      Returns the lower bound on information loss
      Gibt zurück:
    • getPredecessors

      public abstract TransformationList<T> getPredecessors()
      Returns all predeccessors of the transformation with the given identifier
      Parameter:
      transformation -
      Gibt zurück:
    • getSuccessors

      public abstract TransformationList<T> getSuccessors()
      Returns all successors
      Gibt zurück:
    • hasProperty

      public boolean hasProperty(de.linearbits.jhpl.PredictiveProperty property)
      Returns whether this transformation has a given property
      Parameter:
      property -
      Gibt zurück:
    • setChecked

      public void setChecked(TransformationResult result)
      Sets the properties to the given node.
      Parameter:
      result - the result
      node - the node
    • setData

      public void setData(Object object)
      Sets a data
      Parameter:
      object -
    • setInformationLoss

      public void setInformationLoss(InformationLoss<?> informationLoss)
      Sets the information loss
      Parameter:
      informationLoss -
    • setLowerBound

      public void setLowerBound(InformationLoss<?> lowerBound)
      Sets the lower bound
      Parameter:
      lowerBound -
    • setProperty

      public void setProperty(de.linearbits.jhpl.PredictiveProperty property)
      Sets a property
      Parameter:
      property -
    • setPropertyToNeighbours

      public abstract void setPropertyToNeighbours(de.linearbits.jhpl.PredictiveProperty property)
      Sets the property to all neighbors
      Parameter:
      property -
    • toString

      public String toString()
      Returns a string representation
      Setzt außer Kraft:
      toString in Klasse Object
    • getLevel

      protected int getLevel(int[] transformation)
      Returns the sum of all transformation levels;
      Parameter:
      transformation -
      Gibt zurück: