Klasse FLASHStrategy

java.lang.Object
org.deidentifier.arx.algorithm.FLASHStrategy
Alle implementierten Schnittstellen:
Comparator<Integer>

public class FLASHStrategy extends Object implements Comparator<Integer>
This class implements a total order on all transformations in the search space. It is used by the Flash algorithm to achieve stable execution times.
  • Konstruktordetails

    • FLASHStrategy

      public FLASHStrategy(SolutionSpace<?> solutionSpace, GeneralizationHierarchy[] hierarchies)
      Creates a new instance.
      Parameter:
      solutionSpace - the solution space
      hierarchies - the hierarchies
  • Methodendetails

    • compare

      public int compare(Integer n1, Integer n2)
      Compares transformations.
      Angegeben von:
      compare in Schnittstelle Comparator<Integer>
      Parameter:
      n1 - the n1
      n2 - the n2
      Gibt zurück:
      the int