public class Transformer
extends java.lang.Object
Constructor and Description |
---|
Transformer(DataMatrix inputGeneralized,
DataMatrix inputAnalyzed,
DataMatrix outputGeneralized,
int dataAnalyzedNumberOfColumns,
GeneralizationHierarchy[] hierarchies,
ARXConfiguration.ARXConfigurationInternal config)
Instantiates a new transformer for application purposes
|
Transformer(DataMatrix inputGeneralized,
DataMatrix inputAnalyzed,
int dataAnalyzedNumberOfColumns,
GeneralizationHierarchy[] hierarchies,
ARXConfiguration.ARXConfigurationInternal config,
IntArrayDictionary dictionarySensValue,
IntArrayDictionary dictionarySensFreq)
Instantiates a new transformer.
|
Modifier and Type | Method and Description |
---|---|
HashGroupify |
apply(long projection,
int[] transformation,
HashGroupify target)
Apply.
|
HashGroupify |
applyRollup(long projection,
int[] state,
HashGroupify source,
HashGroupify target)
Apply rollup.
|
HashGroupify |
applySnapshot(long projection,
int[] state,
HashGroupify target,
int[] snapshot)
Apply snapshot.
|
DataMatrix |
getBuffer()
Gets the buffer.
|
public Transformer(DataMatrix inputGeneralized, DataMatrix inputAnalyzed, int dataAnalyzedNumberOfColumns, GeneralizationHierarchy[] hierarchies, ARXConfiguration.ARXConfigurationInternal config, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq)
inputGeneralized
- inputAnalyzed
- dataAnalyzedNumberOfColumns
- hierarchies
- config
- dictionarySensValue
- dictionarySensFreq
- public Transformer(DataMatrix inputGeneralized, DataMatrix inputAnalyzed, DataMatrix outputGeneralized, int dataAnalyzedNumberOfColumns, GeneralizationHierarchy[] hierarchies, ARXConfiguration.ARXConfigurationInternal config)
inputGeneralized
- inputAnalyzed
- dataAnalyzedNumberOfColumns
- hierarchies
- config
- dictionarySensValue
- dictionarySensFreq
- public HashGroupify apply(long projection, int[] transformation, HashGroupify target)
projection
- the projectiontransformation
- the transformationtarget
- the targetpublic HashGroupify applyRollup(long projection, int[] state, HashGroupify source, HashGroupify target)
projection
- the projectionstate
- the statesource
- the sourcetarget
- the targetpublic HashGroupify applySnapshot(long projection, int[] state, HashGroupify target, int[] snapshot)
projection
- the projectionstate
- the statetarget
- the targetsnapshot
- the snapshotpublic DataMatrix getBuffer()