Klasse DomainShareInterval<T>

Typparameter:
T -
Alle implementierten Schnittstellen:
Serializable, DomainShare

public class DomainShareInterval<T> extends HierarchyBuilderIntervalBased<T> implements DomainShare
This class represents a set of domain shares for an attribute. The shares are derived from a functional interval-based generalization hierarchy
Siehe auch:
  • Konstruktordetails

    • DomainShareInterval

      public DomainShareInterval(HierarchyBuilderIntervalBased<T> builder, int[][] hierarchy, String[] dictionary)
      Creates a new set of domain shares derived from the given functional interval-based hierarchy.
      Parameter:
      builder -
      hierarchy -
      dictionary -
  • Methodendetails

    • clone

      public DomainShareInterval<T> clone()
      Beschreibung aus Schnittstelle kopiert: DomainShare
      Clones the share
      Angegeben von:
      clone in Schnittstelle DomainShare
      Setzt außer Kraft:
      clone in Klasse Object
      Gibt zurück:
    • getDomainSize

      public double getDomainSize()
      Returns the size of the domain.
      Angegeben von:
      getDomainSize in Schnittstelle DomainShare
      Gibt zurück:
    • getShare

      public double getShare(int value, int level)
      Returns the share of the given value.
      Angegeben von:
      getShare in Schnittstelle DomainShare
      Parameter:
      value -
      level -
      Gibt zurück: