Klasse ILScore

java.lang.Object
org.deidentifier.arx.metric.InformationLoss<org.apache.commons.math3.fraction.BigFraction>
org.deidentifier.arx.metric.v2.ILScore
Alle implementierten Schnittstellen:
Serializable, Comparable<InformationLoss<?>>

public class ILScore extends InformationLoss<org.apache.commons.math3.fraction.BigFraction>
This class implements information loss using score values for data-independent differential privacy with appropriate comparison semantics (i.e. higher score values are better).
Siehe auch:
  • Methodendetails

    • clone

      public InformationLoss<org.apache.commons.math3.fraction.BigFraction> clone()
      Beschreibung aus Klasse kopiert: InformationLoss
      Returns a clone of this object.
      Angegeben von:
      clone in Klasse InformationLoss<org.apache.commons.math3.fraction.BigFraction>
      Gibt zurück:
    • compareTo

      public int compareTo(InformationLoss<?> other)
      Beschreibung aus Klasse kopiert: InformationLoss
      Compares the loss to the other.
      Angegeben von:
      compareTo in Schnittstelle Comparable<InformationLoss<?>>
      Angegeben von:
      compareTo in Klasse InformationLoss<org.apache.commons.math3.fraction.BigFraction>
      Parameter:
      other -
      Gibt zurück:
    • equals

      public boolean equals(Object obj)
      Angegeben von:
      equals in Klasse InformationLoss<org.apache.commons.math3.fraction.BigFraction>
    • getValue

      public org.apache.commons.math3.fraction.BigFraction getValue()
      Beschreibung aus Klasse kopiert: InformationLoss
      Returns the value
      Angegeben von:
      getValue in Klasse InformationLoss<org.apache.commons.math3.fraction.BigFraction>
      Gibt zurück:
    • hashCode

      public int hashCode()
      Angegeben von:
      hashCode in Klasse InformationLoss<org.apache.commons.math3.fraction.BigFraction>
    • max

      public void max(InformationLoss<?> other)
      Beschreibung aus Klasse kopiert: InformationLoss
      Retains the maximum of this and other.
      Angegeben von:
      max in Klasse InformationLoss<org.apache.commons.math3.fraction.BigFraction>
      Parameter:
      other -
    • min

      public void min(InformationLoss<?> other)
      Beschreibung aus Klasse kopiert: InformationLoss
      Retains the minimum of this and other.
      Angegeben von:
      min in Klasse InformationLoss<org.apache.commons.math3.fraction.BigFraction>
      Parameter:
      other -
    • relativeTo

      public double relativeTo(InformationLoss<?> min, InformationLoss<?> max)
      Beschreibung aus Klasse kopiert: InformationLoss
      Returns the value relative to the other instance.
      Angegeben von:
      relativeTo in Klasse InformationLoss<org.apache.commons.math3.fraction.BigFraction>
      Parameter:
      min -
      max -
      Gibt zurück:
    • toString

      public String toString()
      Beschreibung aus Klasse kopiert: InformationLoss
      Returns a string representation.
      Angegeben von:
      toString in Klasse InformationLoss<org.apache.commons.math3.fraction.BigFraction>
      Gibt zurück:
    • convert

      protected ILScore convert(InformationLoss<?> other)
      Converter method.
      Parameter:
      other -
      Gibt zurück:
    • addMetadata

      protected void addMetadata(QualityMetadata<?> metadata)
      Beschreibung aus Klasse kopiert: InformationLoss
      Adds new metadata
      Setzt außer Kraft:
      addMetadata in Klasse InformationLoss<org.apache.commons.math3.fraction.BigFraction>
      Parameter:
      metadata -