Class AttributeRisk


  • public class AttributeRisk
    extends Object
    • Constructor Detail

      • AttributeRisk

        private AttributeRisk​(List<AttributeRisk.QuasiIdentifierRisk> quasiIdentifierRiskList)
        Sets a list of distinction and seperation metrics for each of the quasi-identifyig attributes in the dataset
        Parameters:
        quasiIdentifierRiskList - contains risk factors for each and each combination of risks for quasi-attributes in the dataset
    • Method Detail

      • getQuasiIdentifierRiskList

        public List<AttributeRisk.QuasiIdentifierRisk> getQuasiIdentifierRiskList()
        Returns:
        Returns list of distinction and separation risks for each combination of the quasi-identifying attributes.
      • create

        public static AttributeRisk create​(org.deidentifier.arx.DataHandle dataToAnalyse,
                                           org.deidentifier.arx.ARXPopulationModel pModel)
        Creates a object with type AttributeRisk containing a list of distinction and separation risks for each combination of the quasi-identifying attributes.
        Parameters:
        dataToAnalyse - The arx DataHandle
        pModel - The arx Population model
        Returns:
        A new instance of the class AttributeRisk containing a list of QuasiIdentifierRisks
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object