Package org.deidentifier.arx.metric.v2
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<?>>
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:
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungInformationLoss<org.apache.commons.math3.fraction.BigFraction> clone()Returns a clone of this object.intcompareTo(InformationLoss<?> other) Compares the loss to the other.booleanorg.apache.commons.math3.fraction.BigFractiongetValue()Returns the valueinthashCode()voidmax(InformationLoss<?> other) Retains the maximum of this and other.voidmin(InformationLoss<?> other) Retains the minimum of this and other.doublerelativeTo(InformationLoss<?> min, InformationLoss<?> max) Returns the value relative to the other instance.toString()Returns a string representation.Von Klasse geerbte Methoden org.deidentifier.arx.metric.InformationLoss
createInformationLoss, getMetadata
-
Methodendetails
-
clone
Beschreibung aus Klasse kopiert:InformationLossReturns a clone of this object.- Angegeben von:
clonein KlasseInformationLoss<org.apache.commons.math3.fraction.BigFraction>- Gibt zurück:
-
compareTo
Beschreibung aus Klasse kopiert:InformationLossCompares the loss to the other.- Angegeben von:
compareToin SchnittstelleComparable<InformationLoss<?>>- Angegeben von:
compareToin KlasseInformationLoss<org.apache.commons.math3.fraction.BigFraction>- Parameter:
other-- Gibt zurück:
-
equals
- Angegeben von:
equalsin KlasseInformationLoss<org.apache.commons.math3.fraction.BigFraction>
-
getValue
public org.apache.commons.math3.fraction.BigFraction getValue()Beschreibung aus Klasse kopiert:InformationLossReturns the value- Angegeben von:
getValuein KlasseInformationLoss<org.apache.commons.math3.fraction.BigFraction>- Gibt zurück:
-
hashCode
public int hashCode()- Angegeben von:
hashCodein KlasseInformationLoss<org.apache.commons.math3.fraction.BigFraction>
-
max
Beschreibung aus Klasse kopiert:InformationLossRetains the maximum of this and other.- Angegeben von:
maxin KlasseInformationLoss<org.apache.commons.math3.fraction.BigFraction>- Parameter:
other-
-
min
Beschreibung aus Klasse kopiert:InformationLossRetains the minimum of this and other.- Angegeben von:
minin KlasseInformationLoss<org.apache.commons.math3.fraction.BigFraction>- Parameter:
other-
-
relativeTo
Beschreibung aus Klasse kopiert:InformationLossReturns the value relative to the other instance.- Angegeben von:
relativeToin KlasseInformationLoss<org.apache.commons.math3.fraction.BigFraction>- Parameter:
min-max-- Gibt zurück:
-
toString
Beschreibung aus Klasse kopiert:InformationLossReturns a string representation.- Angegeben von:
toStringin KlasseInformationLoss<org.apache.commons.math3.fraction.BigFraction>- Gibt zurück:
-