Package org.deidentifier.arx
Klasse ARXProcessStatistics.Step
java.lang.Object
org.deidentifier.arx.ARXProcessStatistics.Step
- Alle implementierten Schnittstellen:
Serializable
- Umschließende Klasse:
ARXProcessStatistics
One individual anonymization step
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungStep(ARXLattice.ARXNode top, ARXLattice.ARXNode optimum, boolean isOptimal) Creates a new instanceStep(org.deidentifier.arx.framework.lattice.Transformation<?> top, org.deidentifier.arx.framework.lattice.Transformation<?> optimum, boolean isOptimum, int numRecords) Creates a new instance -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungclone()intgetDimension(String attribute) Returns the index of an attribute.intgetGeneralization(String attribute) Returns the generalization for the attribute.Maps attribute name to positionintgetMaximalGeneralization(String attribute) Returns the maximal generalization level for the attribute.int[]Returns the transformation as an array.List<QualityMetadata<?>> Returns the metadata associated with the result, if anyintReturns the number of records transformed in this step,-1if not known.String[]Returns the quasi identifiers.getScore()Returns a node's lower bound, if any.intReturns the sum of all generalization levels.int[]Returns the transformation as an array.booleanReturns whether it is known how many records have been transformed in this step.booleanReturns whether the solution in this step is optimal
-
Konstruktordetails
-
Step
Creates a new instance- Parameter:
optimum-isOptimal-
-
Step
public Step(org.deidentifier.arx.framework.lattice.Transformation<?> top, org.deidentifier.arx.framework.lattice.Transformation<?> optimum, boolean isOptimum, int numRecords) Creates a new instance- Parameter:
top-optimum-isOptimum-numRecords-headermap-
-
-
Methodendetails
-
clone
-
getDimension
Returns the index of an attribute.- Parameter:
attribute-- Gibt zurück:
-
getGeneralization
Returns the generalization for the attribute.- Parameter:
attribute-- Gibt zurück:
-
getHeader
Maps attribute name to position- Gibt zurück:
-
getMaximalGeneralization
Returns the maximal generalization level for the attribute.- Parameter:
attribute-- Gibt zurück:
-
getMaximalTransformationLevels
public int[] getMaximalTransformationLevels()Returns the transformation as an array.- Gibt zurück:
-
getMetadata
Returns the metadata associated with the result, if any- Gibt zurück:
- the metadata
-
getNumberOfRecordsTransformed
public int getNumberOfRecordsTransformed()Returns the number of records transformed in this step,-1if not known.- Gibt zurück:
- the numRecordsTransformed
-
getQuasiIdentifyingAttributes
Returns the quasi identifiers.- Gibt zurück:
-
getScore
Returns a node's lower bound, if any.- Gibt zurück:
-
getTotalGeneralizationLevel
public int getTotalGeneralizationLevel()Returns the sum of all generalization levels.- Gibt zurück:
-
getTransformation
public int[] getTransformation()Returns the transformation as an array.- Gibt zurück:
-
isNumberOfRecordsTransformedAvailable
public boolean isNumberOfRecordsTransformedAvailable()Returns whether it is known how many records have been transformed in this step.- Gibt zurück:
-
isOptimal
public boolean isOptimal()Returns whether the solution in this step is optimal- Gibt zurück:
-