Package org.deidentifier.arx.metric.v2
Klasse AbstractILMultiDimensional
java.lang.Object
org.deidentifier.arx.metric.InformationLoss<double[]>
org.deidentifier.arx.metric.v2.AbstractILMultiDimensional
- Alle implementierten Schnittstellen:
Serializable,Comparable<InformationLoss<?>>
- Bekannte direkte Unterklassen:
AbstractILMultiDimensionalReduced,ILMultiDimensionalRank
This class implements an information loss which can be represented as a
decimal number per quasi-identifier.
- Siehe auch:
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidaddMetadata(QualityMetadata<?> metadata) Adds new metadataabstract InformationLoss<double[]> clone()Returns a clone of this object.abstract intcompareTo(InformationLoss<?> other) Compares the loss to the other.protected abstract AbstractILMultiDimensionalconvert(InformationLoss<?> other) Converter method.booleanabstract double[]getValue()Returns the valueprotected double[]protected double[]voidmax(InformationLoss<?> other) Retains the maximum of this and other.voidmin(InformationLoss<?> other) Retains the minimum of this and other.abstract doublerelativeTo(InformationLoss<?> min, InformationLoss<?> max) Returns the value relative to the other instance.protected voidsetValues(double[] values) abstract StringtoString()Returns a string representation.Von Klasse geerbte Methoden org.deidentifier.arx.metric.InformationLoss
createInformationLoss, getMetadata, hashCode
-
Methodendetails
-
clone
Beschreibung aus Klasse kopiert:InformationLossReturns a clone of this object.- Angegeben von:
clonein KlasseInformationLoss<double[]>- Gibt zurück:
-
compareTo
Beschreibung aus Klasse kopiert:InformationLossCompares the loss to the other.- Angegeben von:
compareToin SchnittstelleComparable<InformationLoss<?>>- Angegeben von:
compareToin KlasseInformationLoss<double[]>- Parameter:
other-- Gibt zurück:
-
equals
- Angegeben von:
equalsin KlasseInformationLoss<double[]>
-
getValue
public abstract double[] getValue()Beschreibung aus Klasse kopiert:InformationLossReturns the value- Angegeben von:
getValuein KlasseInformationLoss<double[]>- Gibt zurück:
-
max
Beschreibung aus Klasse kopiert:InformationLossRetains the maximum of this and other.- Angegeben von:
maxin KlasseInformationLoss<double[]>- Parameter:
other-
-
min
Beschreibung aus Klasse kopiert:InformationLossRetains the minimum of this and other.- Angegeben von:
minin KlasseInformationLoss<double[]>- Parameter:
other-
-
relativeTo
Beschreibung aus Klasse kopiert:InformationLossReturns the value relative to the other instance.- Angegeben von:
relativeToin KlasseInformationLoss<double[]>- Parameter:
min-max-- Gibt zurück:
-
toString
Beschreibung aus Klasse kopiert:InformationLossReturns a string representation.- Angegeben von:
toStringin KlasseInformationLoss<double[]>- Gibt zurück:
-
addMetadata
Beschreibung aus Klasse kopiert:InformationLossAdds new metadata- Setzt außer Kraft:
addMetadatain KlasseInformationLoss<double[]>- Parameter:
metadata-
-
convert
Converter method.- Parameter:
other-- Gibt zurück:
-
getValues
protected double[] getValues()- Gibt zurück:
- the values
-
getWeights
protected double[] getWeights()- Gibt zurück:
- the weights
-
setValues
protected void setValues(double[] values) - Parameter:
values- the values to set
-