Klasse AbstractTransformer
java.lang.Object
org.deidentifier.arx.framework.check.transformer.AbstractTransformer
- Alle implementierten Schnittstellen:
Callable<HashGroupify>
- Bekannte direkte Unterklassen:
Transformer01,Transformer02,Transformer03,Transformer04,Transformer05,Transformer06,Transformer07,Transformer08,Transformer09,Transformer10,Transformer11,Transformer12,Transformer13,Transformer14,Transformer15,TransformerAll
This class implements an abstract base class for all transformers.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungprotected final classImplementation of the delegate for Requirements.COUNTERprotected final classImplementation of the delegate for Requirements.COUNTER | Requirements.DISTRIBUTIONprotected final classImplementation of the delegate for Requirements.COUNTER | Requirements.SECONDARY_COUNTERprotected final classImplementation of the delegate for Requirements.COUNTER | Requirements.SECONDARY_COUNTER | Requirements.DISTRIBUTIONprotected final classImplementation of the delegate for Requirements.DISTRIBUTIONprotected static interfaceInterface for delegates to the groupify . -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected DataMatrixThe buffer.protected intThe columns.protected intThe columns.protected intThe columns.protected intThe columns.protected intThe columns.protected intThe columns.protected intThe columns.protected intThe columns.protected intThe columns.protected intThe columns.protected intThe columns.protected intThe columns.protected intThe columns.protected intThe columns.protected intThe columns.protected final ARXConfiguration.ARXConfigurationInternalThe mode of operation *.protected final DataMatrixThe data.protected final DataMatrixThe sensitive values.protected final intAnalyzed number of columns.protected final AbstractTransformer.IGroupifyThe delegate.protected final IntArrayDictionaryThe dictionary for the snapshot compression *.protected final IntArrayDictionaryThe dictionary for the snapshot compression *.protected final intThe dimensions.protected HashGroupifyEntryThe element.protected int[]The states.protected final GeneralizationHierarchy[]The hierarchies.protected int[][]The hierarchiesprotected int[][]The hierarchiesprotected int[][]The hierarchiesprotected int[][]The hierarchiesprotected int[][]The hierarchiesprotected int[][]The hierarchiesprotected int[][]The hierarchiesprotected int[][]The hierarchiesprotected int[][]The hierarchiesprotected int[][]The hierarchiesprotected int[][]The hierarchiesprotected int[][]The hierarchiesprotected int[][]The hierarchiesprotected int[][]The hierarchiesprotected int[][]The hierarchiesprotected intThe levels.protected intThe levels.protected intThe levels.protected intThe levels.protected intThe levels.protected intThe levels.protected intThe levels.protected intThe levels.protected intThe levels.protected intThe levels.protected intThe levels.protected intThe levels.protected intThe levels.protected intThe levels.protected intThe levels.protected final int[]The column index array.protected final int[][][]The column map array.protected final int[]The state index array.protected int[]The snapshot.protected final intThe size of one snapshopt entry *.protected intThe start index.protected intThe stop index.The transition. -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungAbstractTransformer(DataMatrix data, GeneralizationHierarchy[] hierarchies, DataMatrix dataAnalyzed, int dataAnalyzedNumberOfColumns, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config) Instantiates a new abstract transformer. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcall()voidinit(long projection, int[] state, HashGroupify groupify, HashGroupify source, int[] snapshot, TransformationCheckerStateMachine.TransitionType transition, int startIndex, int stopIndex, HashGroupifyEntry element, DataMatrix buffer) Prepares the next transformationprotected abstract voidProcess complete input dataset.protected abstract voidProcess groupify.protected abstract voidProcess snapshot.
-
Felddetails
-
buffer
The buffer. -
config
The mode of operation *. -
data
The data. -
delegate
The delegate. -
dictionarySensFreq
The dictionary for the snapshot compression *. -
dictionarySensValue
The dictionary for the snapshot compression *. -
dimensions
protected final int dimensionsThe dimensions. -
element
The element. -
hierarchies
The hierarchies. -
hierarchy0
protected int[][] hierarchy0The hierarchies -
hierarchy1
protected int[][] hierarchy1The hierarchies -
hierarchy2
protected int[][] hierarchy2The hierarchies -
hierarchy3
protected int[][] hierarchy3The hierarchies -
hierarchy4
protected int[][] hierarchy4The hierarchies -
hierarchy5
protected int[][] hierarchy5The hierarchies -
hierarchy6
protected int[][] hierarchy6The hierarchies -
hierarchy7
protected int[][] hierarchy7The hierarchies -
hierarchy8
protected int[][] hierarchy8The hierarchies -
hierarchy9
protected int[][] hierarchy9The hierarchies -
hierarchy10
protected int[][] hierarchy10The hierarchies -
hierarchy11
protected int[][] hierarchy11The hierarchies -
hierarchy12
protected int[][] hierarchy12The hierarchies -
hierarchy13
protected int[][] hierarchy13The hierarchies -
hierarchy14
protected int[][] hierarchy14The hierarchies -
column0
protected int column0The columns. -
column1
protected int column1The columns. -
column2
protected int column2The columns. -
column3
protected int column3The columns. -
column4
protected int column4The columns. -
column5
protected int column5The columns. -
column6
protected int column6The columns. -
column7
protected int column7The columns. -
column8
protected int column8The columns. -
column9
protected int column9The columns. -
column10
protected int column10The columns. -
column11
protected int column11The columns. -
column12
protected int column12The columns. -
column13
protected int column13The columns. -
column14
protected int column14The columns. -
level0
protected int level0The levels. -
level1
protected int level1The levels. -
level10
protected int level10The levels. -
level11
protected int level11The levels. -
level12
protected int level12The levels. -
level13
protected int level13The levels. -
level14
protected int level14The levels. -
level2
protected int level2The levels. -
level3
protected int level3The levels. -
level4
protected int level4The levels. -
level5
protected int level5The levels. -
level6
protected int level6The levels. -
level7
protected int level7The levels. -
level8
protected int level8The levels. -
level9
protected int level9The levels. -
dataAnalyzed
The sensitive values. -
dataAnalyzedNumberOfColumns
protected final int dataAnalyzedNumberOfColumnsAnalyzed number of columns. -
snapshot
protected int[] snapshotThe snapshot. -
ssStepWidth
protected final int ssStepWidthThe size of one snapshopt entry *. -
startIndex
protected int startIndexThe start index. -
stopIndex
protected int stopIndexThe stop index. -
generalization
protected int[] generalizationThe states. -
transition
The transition. -
mappedLevels
protected final int[] mappedLevelsThe state index array. -
mappedColumns
protected final int[] mappedColumnsThe column index array. -
mappedHierarchies
protected final int[][][] mappedHierarchiesThe column map array.
-
-
Konstruktordetails
-
AbstractTransformer
public AbstractTransformer(DataMatrix data, GeneralizationHierarchy[] hierarchies, DataMatrix dataAnalyzed, int dataAnalyzedNumberOfColumns, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config) Instantiates a new abstract transformer.- Parameter:
data- the datahierarchies- the hierarchiesdataAnalyzed-dataAnalyzedNumberOfColumns-dictionarySensValue-dictionarySensFreq-config-
-
-
Methodendetails
-
call
- Angegeben von:
callin SchnittstelleCallable<HashGroupify>
-
init
public void init(long projection, int[] state, HashGroupify groupify, HashGroupify source, int[] snapshot, TransformationCheckerStateMachine.TransitionType transition, int startIndex, int stopIndex, HashGroupifyEntry element, DataMatrix buffer) Prepares the next transformation- Parameter:
projection- the projectionstate- the stategroupify- the groupifysource- the sourcesnapshot- the snapshottransition- the transitionstartIndex- the start indexstopIndex- the stop indexelement- the elementbuffer- the buffer
-
processAll
protected abstract void processAll()Process complete input dataset. -
processGroupify
protected abstract void processGroupify()Process groupify. -
processSnapshot
protected abstract void processSnapshot()Process snapshot.
-