Class/Object

ksb.csle.didentification.verification.check

CommonLDiversityCheck

Related Docs: object CommonLDiversityCheck | package check

Permalink

class CommonLDiversityCheck extends BaseLDiversityCheck

This class checks whether the anonymized data satisfies the common L-diversity constraint. Note that this class checks the l-diversity value in an single equivalence class, not the dataframe.

Linear Supertypes
BaseLDiversityCheck, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommonLDiversityCheck
  2. BaseLDiversityCheck
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CommonLDiversityCheck()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getLDiversityValue(eqTable: Map[List[Any], Long]): Double

    Permalink

    Gets the l-diversity value of this equivalence class.

    Gets the l-diversity value of this equivalence class. Note that this function checks the l-diversity value in an single equivalence class, not the dataframe. that is, the 'senslist' is the list of senstivie contents in an single equivalence class.

    returns

    Double The l-diversity value

    Definition Classes
    CommonLDiversityCheckBaseLDiversityCheck
  11. def getLDiversityValue(src: DataFrame, columnNames: Array[String], sens: Array[String]): Double

    Permalink

    The common L-diversity method just checks whether the number of sensitive attributes is greater than given L-constraints.

    The common L-diversity method just checks whether the number of sensitive attributes is greater than given L-constraints. Generally, an equivalence class is l-diverse if contains at least 'l' well-represented values for the sensitive attribute. A table is l-diverse if every equivalence is l-diverse

    src

    The anonymized dataframe

    returns

    Double return the l-diversity value

    Definition Classes
    BaseLDiversityCheck
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def lDiversityCheck(src: DataFrame, columnNames: Array[String], sens: Array[String], lDiversityValue: Double): Boolean

    Permalink

    Checks the anonymized dataframe satisfies the given l-Diversity constraint.

    Checks the anonymized dataframe satisfies the given l-Diversity constraint.

    src

    The anonymized dataframe

    lDiversityValue

    the given l-diversity constraint

    returns

    Boolean return true if satisfying the given l-diversity constraint

    Definition Classes
    BaseLDiversityCheck
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from BaseLDiversityCheck

Inherited from AnyRef

Inherited from Any

Ungrouped