Klasse SolutionSpaceIntArray

java.lang.Object
org.deidentifier.arx.framework.lattice.SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray

public class SolutionSpaceIntArray extends SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
A class representing the solution space
  • Konstruktordetails

    • SolutionSpaceIntArray

      public SolutionSpaceIntArray(ARXLattice lattice, ARXConfiguration config)
      Delegate constructor
      Parameter:
      lattice -
      config -
    • SolutionSpaceIntArray

      public SolutionSpaceIntArray(int[] minLevels, int[] maxLevels)
      Delegate constructor
      Parameter:
      minLevels -
      maxLevels -
  • Methodendetails

    • getBottom

      public Transformation<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper> getBottom()
      Returns the bottom transformation
      Angegeben von:
      getBottom in Klasse SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
      Gibt zurück:
    • getMaterializedTransformations

      public ObjectIterator<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper> getMaterializedTransformations()
      Returns all materialized transformations
      Angegeben von:
      getMaterializedTransformations in Klasse SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
      Gibt zurück:
    • getSize

      public BigInteger getSize()
      Returns the overall number of transformations in the solution space
      Angegeben von:
      getSize in Klasse SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
      Gibt zurück:
    • getTop

      public Transformation<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper> getTop()
      Returns the top-transformation
      Angegeben von:
      getTop in Klasse SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
      Gibt zurück:
    • getTransformation

      public Transformation<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper> getTransformation(int[] transformation)
      Returns a wrapper object with access to all properties about the transformation
      Angegeben von:
      getTransformation in Klasse SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
      Parameter:
      transformation - - in ARX format
      Gibt zurück:
    • getTransformation

      public Transformation<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper> getTransformation(Object _identifier)
      Returns the transformation with the given identifier
      Angegeben von:
      getTransformation in Klasse SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
      Parameter:
      _identifier - - in ARX format
      Gibt zurück:
    • getUtility

      public InformationLoss<?> getUtility(Object identifier)
      Returns the utility of the transformation with the given identifier
      Angegeben von:
      getUtility in Klasse SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
      Parameter:
      identifier - - in ARX format
      Gibt zurück:
    • hasProperty

      public boolean hasProperty(int[] transformation, de.linearbits.jhpl.PredictiveProperty property)
      Returns whether a node has a given property
      Angegeben von:
      hasProperty in Klasse SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
      Parameter:
      transformation - - in ARX format
      property -
      Gibt zurück:
    • unsafeGetAllTransformations

      public ObjectIterator<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper> unsafeGetAllTransformations()
      Returns all transformations in the solution space
      Angegeben von:
      unsafeGetAllTransformations in Klasse SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
      Gibt zurück:
    • unsafeGetLevel

      public ObjectIterator<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper> unsafeGetLevel(int level)
      Returns *all* nodes on the given level. This is an unsafe operation that only performs well for "small" spaces.
      Angegeben von:
      unsafeGetLevel in Klasse SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
      Parameter:
      level -
      Gibt zurück:
    • getData

      protected Object getData(org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper id)
      Returns data
      Angegeben von:
      getData in Klasse SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
      Parameter:
      id - - in ARX format
      Gibt zurück:
    • getInformationLoss

      protected InformationLoss<?> getInformationLoss(org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper identifier)
      Returns the information loss
      Angegeben von:
      getInformationLoss in Klasse SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
      Parameter:
      identifier - - in ARX format
      Gibt zurück:
    • getLowerBound

      protected InformationLoss<?> getLowerBound(org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper identifier)
      Returns the lower bound
      Angegeben von:
      getLowerBound in Klasse SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
      Parameter:
      identifier - - in ARX format
      Gibt zurück:
    • setData

      protected void setData(org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper id, Object object)
      Sets data
      Angegeben von:
      setData in Klasse SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
      Parameter:
      id - - in ARX format
      object -
    • setInformationLoss

      protected void setInformationLoss(int[] identifier, InformationLoss<?> loss)
      Sets the information loss
      Angegeben von:
      setInformationLoss in Klasse SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
      Parameter:
      identifier - - in ARX format
      loss -
    • setInformationLoss

      protected void setInformationLoss(org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper identifier, InformationLoss<?> loss)
      Sets the information loss
      Angegeben von:
      setInformationLoss in Klasse SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
      Parameter:
      identifier - - in ARX format
      loss -
    • setLowerBound

      protected void setLowerBound(org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper identifier, InformationLoss<?> loss)
      Sets the lower bound
      Angegeben von:
      setLowerBound in Klasse SolutionSpace<org.deidentifier.arx.framework.lattice.SolutionSpaceIntArray.IntArrayWrapper>
      Parameter:
      identifier - - in ARX format
      loss -