Class DistributionOfRisk


  • public class DistributionOfRisk
    extends java.lang.Object
    • Method Detail

      • createFromRiskAndMaxRisk

        static DistributionOfRisk createFromRiskAndMaxRisk​(double[] recordsOfRiskWithinInterval,
                                                           double[] recordsOfMaximalRiskWithinInterval)
      • create

        public static DistributionOfRisk create​(org.deidentifier.arx.risk.RiskEstimateBuilder riskEstimateBuilder)
      • distributionOfRecordsWithRisk

        private static double[] distributionOfRecordsWithRisk​(org.deidentifier.arx.risk.RiskEstimateBuilder riskEstimateBuilder)
        Returns a double[] that contains Risk records on the different prosecutor risk ranges.
        Parameters:
        riskEstimateBuilder - for a dataset
        Returns:
        double[] that contains Risk records on the different prosecutor risk ranges
      • distributionOfRecordsWithMaximalRisk

        private static double[] distributionOfRecordsWithMaximalRisk​(org.deidentifier.arx.risk.RiskEstimateBuilder riskEstimateBuilder)
        Returns a double[] that contains maximal risk records on the different prosecutor risk ranges.
        Parameters:
        riskEstimateBuilder - for a dataset
        Returns:
        double[] that contains maximal risk records on the different prosecutor risk ranges
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object