Klasse TransformationCheckerStateMachine

java.lang.Object
org.deidentifier.arx.framework.check.TransformationCheckerStateMachine

public class TransformationCheckerStateMachine extends Object
This class implements a state machine, which determines which optimizations can be applied to the current transition depending on the previous transition.
  • Konstruktordetails

    • TransformationCheckerStateMachine

      public TransformationCheckerStateMachine(History history)
      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

      public TransformationCheckerStateMachine.Transition transition(int[] transformation)
      Calculates the best state transition.
      Parameter:
      transformation - the current transformation
      Gibt zurück:
      the transition