public class Transformer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ARXConfiguration.ARXConfigurationInternal |
config
The config.
|
protected IntArrayDictionary |
dictionarySensFreq
The dictionary for the snapshot compression *.
|
protected IntArrayDictionary |
dictionarySensValue
The dictionary for the snapshot compression *.
|
protected int |
dimensions
The dimensions.
|
protected GeneralizationHierarchy[] |
hierarchies
The hierarchies.
|
protected int[][] |
inputAnalyzed
Other attribute values.
|
protected int[][] |
inputGeneralized
The data.
|
protected AbstractTransformer[] |
instances
The instances.
|
protected int[][] |
outputGeneralized
The buffer.
|
Constructor and Description |
---|
Transformer(int[][] inputGeneralized,
int[][] inputAnalyzed,
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.
|
protected HashGroupify |
applyInternal(long projection,
int[] state,
HashGroupify source,
HashGroupify target,
int[] snapshot,
StateMachine.TransitionType transition)
Apply internal.
|
HashGroupify |
applyRollup(long projection,
int[] state,
HashGroupify source,
HashGroupify target)
Apply rollup.
|
HashGroupify |
applySnapshot(long projection,
int[] state,
HashGroupify target,
int[] snapshot)
Apply snapshot.
|
protected AbstractTransformer |
getApplicator(long projection)
Gets the applicator.
|
int[][] |
getBuffer()
Gets the buffer.
|
protected final ARXConfiguration.ARXConfigurationInternal config
protected IntArrayDictionary dictionarySensFreq
protected IntArrayDictionary dictionarySensValue
protected final int dimensions
protected final GeneralizationHierarchy[] hierarchies
protected int[][] inputAnalyzed
protected final int[][] inputGeneralized
protected final AbstractTransformer[] instances
protected int[][] outputGeneralized
public Transformer(int[][] inputGeneralized, int[][] inputAnalyzed, GeneralizationHierarchy[] hierarchies, ARXConfiguration.ARXConfigurationInternal config, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq)
inputGeneralized
- inputAnalyzed
- 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 int[][] getBuffer()
protected HashGroupify applyInternal(long projection, int[] state, HashGroupify source, HashGroupify target, int[] snapshot, StateMachine.TransitionType transition)
projection
- the projectionstate
- the statesource
- the sourcetarget
- the targetsnapshot
- the snapshottransition
- the transitionprotected AbstractTransformer getApplicator(long projection)
projection
- the projection