Klasse Transformer
java.lang.Object
org.deidentifier.arx.framework.check.Transformer
The class Transformer.
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected final ARXConfiguration.ARXConfigurationInternalThe config.protected final intNumber of columns to analyzeprotected IntArrayDictionaryThe dictionary for the snapshot compression *.protected IntArrayDictionaryThe dictionary for the snapshot compression *.protected final intThe dimensions.protected final GeneralizationHierarchy[]The hierarchies.protected DataMatrixOther attribute values.protected final DataMatrixThe data.protected final AbstractTransformer[]The instances.protected DataMatrixThe buffer. -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungTransformer(DataMatrix inputGeneralized, DataMatrix inputAnalyzed, int dataAnalyzedNumberOfColumns, GeneralizationHierarchy[] hierarchies, ARXConfiguration.ARXConfigurationInternal config, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq) Instantiates a new transformer.Transformer(DataMatrix inputGeneralized, DataMatrix inputAnalyzed, DataMatrix outputGeneralized, int dataAnalyzedNumberOfColumns, GeneralizationHierarchy[] hierarchies, ARXConfiguration.ARXConfigurationInternal config) Instantiates a new transformer for application purposes -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungapply(long projection, int[] transformation, HashGroupify target) Apply.protected HashGroupifyapplyInternal(long projection, int[] state, HashGroupify source, HashGroupify target, int[] snapshot, TransformationCheckerStateMachine.TransitionType transition) Apply internal.applyRollup(long projection, int[] state, HashGroupify source, HashGroupify target) Apply rollup.applySnapshot(long projection, int[] state, HashGroupify target, int[] snapshot) Apply snapshot.Gets the buffer.protected AbstractTransformergetTransformer(long projection) Gets the applicator.
-
Felddetails
-
config
The config. -
dictionarySensFreq
The dictionary for the snapshot compression *. -
dictionarySensValue
The dictionary for the snapshot compression *. -
dimensions
protected final int dimensionsThe dimensions. -
hierarchies
The hierarchies. -
inputAnalyzed
Other attribute values. -
inputGeneralized
The data. -
instances
The instances. -
outputGeneralized
The buffer. -
dataAnalyzedNumberOfColumns
protected final int dataAnalyzedNumberOfColumnsNumber of columns to analyze
-
-
Konstruktordetails
-
Transformer
public Transformer(DataMatrix inputGeneralized, DataMatrix inputAnalyzed, int dataAnalyzedNumberOfColumns, GeneralizationHierarchy[] hierarchies, ARXConfiguration.ARXConfigurationInternal config, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq) Instantiates a new transformer.- Parameter:
inputGeneralized-inputAnalyzed-dataAnalyzedNumberOfColumns-hierarchies-config-dictionarySensValue-dictionarySensFreq-
-
Transformer
public Transformer(DataMatrix inputGeneralized, DataMatrix inputAnalyzed, DataMatrix outputGeneralized, int dataAnalyzedNumberOfColumns, GeneralizationHierarchy[] hierarchies, ARXConfiguration.ARXConfigurationInternal config) Instantiates a new transformer for application purposes- Parameter:
inputGeneralized-inputAnalyzed-dataAnalyzedNumberOfColumns-hierarchies-config-dictionarySensValue-dictionarySensFreq-
-
-
Methodendetails
-
apply
Apply.- Parameter:
projection- the projectiontransformation- the transformationtarget- the target- Gibt zurück:
- the hash groupify
-
applyRollup
public HashGroupify applyRollup(long projection, int[] state, HashGroupify source, HashGroupify target) Apply rollup.- Parameter:
projection- the projectionstate- the statesource- the sourcetarget- the target- Gibt zurück:
- the hash groupify
-
applySnapshot
public HashGroupify applySnapshot(long projection, int[] state, HashGroupify target, int[] snapshot) Apply snapshot.- Parameter:
projection- the projectionstate- the statetarget- the targetsnapshot- the snapshot- Gibt zurück:
- the hash groupify
-
getBuffer
Gets the buffer.- Gibt zurück:
- the buffer
-
applyInternal
protected HashGroupify applyInternal(long projection, int[] state, HashGroupify source, HashGroupify target, int[] snapshot, TransformationCheckerStateMachine.TransitionType transition) Apply internal.- Parameter:
projection- the projectionstate- the statesource- the sourcetarget- the targetsnapshot- the snapshottransition- the transition- Gibt zurück:
- the hash groupify
-
getTransformer
Gets the applicator.- Parameter:
projection- the projection- Gibt zurück:
- the applicator
-