Klasse InformationLoss<T>

java.lang.Object
org.deidentifier.arx.metric.InformationLoss<T>
Typparameter:
T -
Alle implementierten Schnittstellen:
Serializable, Comparable<InformationLoss<?>>
Bekannte direkte Unterklassen:
AbstractILMultiDimensional, ILScore, ILSingleDimensional

public abstract class InformationLoss<T> extends Object implements Comparable<InformationLoss<?>>, Serializable
This class implements an abstract base class for information loss.
Siehe auch:
  • Konstruktordetails

    • InformationLoss

      protected InformationLoss()
      Creates a new instance
  • Methodendetails

    • createInformationLoss

      public static InformationLoss<?> createInformationLoss(InformationLoss<?> loss, Metric<?> metric, int minLevel, int maxLevel)
      Converter method, converting information loss from version 1 to information loss from version 2, if necessary.
      Parameter:
      loss -
      metric -
      minLevel -
      maxLevel -
      Gibt zurück:
    • addMetadata

      protected void addMetadata(QualityMetadata<?> metadata)
      Adds new metadata
      Parameter:
      metadata -
    • clone

      public abstract InformationLoss<T> clone()
      Returns a clone of this object.
      Setzt außer Kraft:
      clone in Klasse Object
      Gibt zurück:
    • compareTo

      public abstract int compareTo(InformationLoss<?> other)
      Compares the loss to the other.
      Angegeben von:
      compareTo in Schnittstelle Comparable<T>
      Parameter:
      other -
      Gibt zurück:
    • equals

      public abstract boolean equals(Object obj)
      Setzt außer Kraft:
      equals in Klasse Object
    • getMetadata

      public List<QualityMetadata<?>> getMetadata()
      Adds new metadata
      Parameter:
      metadata -
      Gibt zurück:
    • getValue

      public abstract T getValue()
      Returns the value
      Gibt zurück:
    • hashCode

      public abstract int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • max

      public abstract void max(InformationLoss<?> other)
      Retains the maximum of this and other.
      Parameter:
      other -
    • min

      public abstract void min(InformationLoss<?> other)
      Retains the minimum of this and other.
      Parameter:
      other -
    • relativeTo

      public abstract double relativeTo(InformationLoss<?> min, InformationLoss<?> max)
      Returns the value relative to the other instance.
      Parameter:
      min -
      max -
      Gibt zurück:
    • toString

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