Klasse DomainShareReliable

java.lang.Object
org.deidentifier.arx.metric.v2.DomainShareReliable
Alle implementierten Schnittstellen:
Serializable

public class DomainShareReliable extends Object implements Serializable
This class represents a reliable set of domain shares for an attribute. The shares are derived from a materialized generalization hierarchy. It is assumed that the complete domain of the attribute is represented in the hierarchy.
Siehe auch:
  • Konstruktordetails

    • DomainShareReliable

      public DomainShareReliable(String[][] rawHierarchy, String[] encodedValues, int[][] encodedHierarchy)
      Creates a new set of domain shares derived from the given attribute.
      Parameter:
      rawHierarchy -
      encodedValues -
      encodedHierarchy -
  • Methodendetails

    • clone

      public DomainShareReliable clone()
    • getShare

      public org.apache.commons.math3.fraction.BigFraction getShare(int value, int level)
      Returns the share of the given value.
      Parameter:
      value -
      level -
      Gibt zurück: