Klasse TransformationCheckerStateMachine
java.lang.Object
org.deidentifier.arx.framework.check.TransformationCheckerStateMachine
This class implements a state machine, which determines which optimizations
can be applied to the current transition depending on the previous
transition.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classThe resulting transition.static enumThe possible transition type. -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungTransformationCheckerStateMachine(History history) Instantiates a new state machine. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint[]Returns the last transformation.Returns the last transition.voidreset()Resets the state machine.transition(int[] transformation) Calculates the best state transition.
-
Konstruktordetails
-
TransformationCheckerStateMachine
Instantiates a new state machine.- Parameter:
history- the history
-
-
Methodendetails
-
getLastTransformation
public int[] getLastTransformation()Returns the last transformation.- Gibt zurück:
- the last transformation, which has been checked for k-anonymity
-
getLastTransition
Returns the last transition.- Gibt zurück:
-
reset
public void reset()Resets the state machine. -
transition
Calculates the best state transition.- Parameter:
transformation- the current transformation- Gibt zurück:
- the transition
-