public static class ARXProcessStatistics.Step
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Step(ARXLattice.ARXNode top,
ARXLattice.ARXNode optimum,
boolean isOptimal)
Creates a new instance
|
Step(Transformation<?> top,
Transformation<?> optimum,
boolean isOptimum,
int numRecords)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
ARXProcessStatistics.Step |
clone() |
int |
getDimension(java.lang.String attribute)
Returns the index of an attribute.
|
int |
getGeneralization(java.lang.String attribute)
Returns the generalization for the attribute.
|
java.util.Map<java.lang.String,java.lang.Integer> |
getHeader()
Maps attribute name to position
|
int |
getMaximalGeneralization(java.lang.String attribute)
Returns the maximal generalization level for the attribute.
|
int[] |
getMaximalTransformationLevels()
Returns the transformation as an array.
|
java.util.List<QualityMetadata<?>> |
getMetadata()
Returns the metadata associated with the result, if any
|
int |
getNumberOfRecordsTransformed()
Returns the number of records transformed in this step,
-1
if not known. |
java.lang.String[] |
getQuasiIdentifyingAttributes()
Returns the quasi identifiers.
|
InformationLoss<?> |
getScore()
Returns a node's lower bound, if any.
|
int |
getTotalGeneralizationLevel()
Returns the sum of all generalization levels.
|
int[] |
getTransformation()
Returns the transformation as an array.
|
boolean |
isNumberOfRecordsTransformedAvailable()
Returns whether it is known how many records have been transformed
in this step.
|
boolean |
isOptimal()
Returns whether the solution in this step is optimal
|
public Step(ARXLattice.ARXNode top, ARXLattice.ARXNode optimum, boolean isOptimal)
optimum
- isOptimal
- public Step(Transformation<?> top, Transformation<?> optimum, boolean isOptimum, int numRecords)
headermap
- top
- optimum
- isOptimum
- numRecords
- public ARXProcessStatistics.Step clone()
clone
in class java.lang.Object
public int getDimension(java.lang.String attribute)
attribute
- public int getGeneralization(java.lang.String attribute)
attribute
- public java.util.Map<java.lang.String,java.lang.Integer> getHeader()
public int getMaximalGeneralization(java.lang.String attribute)
attribute
- public int[] getMaximalTransformationLevels()
public java.util.List<QualityMetadata<?>> getMetadata()
public int getNumberOfRecordsTransformed()
-1
if not known.public java.lang.String[] getQuasiIdentifyingAttributes()
public InformationLoss<?> getScore()
public int getTotalGeneralizationLevel()
public int[] getTransformation()
public boolean isNumberOfRecordsTransformedAvailable()
public boolean isOptimal()