Package org.deidentifier.arx.metric
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:
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract InformationLoss<T> clone()Returns a clone of this object.abstract intcompareTo(InformationLoss<?> other) Compares the loss to the other.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.abstract booleanList<QualityMetadata<?>> Adds new metadataabstract TgetValue()Returns the valueabstract inthashCode()abstract voidmax(InformationLoss<?> other) Retains the maximum of this and other.abstract voidmin(InformationLoss<?> other) Retains the minimum of this and other.abstract doublerelativeTo(InformationLoss<?> min, InformationLoss<?> max) Returns the value relative to the other instance.abstract StringtoString()Returns a string representation.
-
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:
-
clone
Returns a clone of this object.- Gibt zurück:
-
compareTo
Compares the loss to the other.- Angegeben von:
compareToin SchnittstelleComparable<T>- Parameter:
other-- Gibt zurück:
-
equals
-
getMetadata
Adds new metadata- Parameter:
metadata-- Gibt zurück:
-
getValue
Returns the value- Gibt zurück:
-
hashCode
public abstract int hashCode() -
max
Retains the maximum of this and other.- Parameter:
other-
-
min
Retains the minimum of this and other.- Parameter:
other-
-
relativeTo
Returns the value relative to the other instance.- Parameter:
min-max-- Gibt zurück:
-
toString
Returns a string representation.
-