Interface ProjectReports.AttributesReport

  • Enclosing interface:
    ProjectReports

    public static interface ProjectReports.AttributesReport
    the Attributes Report is where we get to track what happened with any industry sector or attribute groups, penalties and constraints.
    • Method Detail

      • industryPenalties

        ReportsTables.PenaltiesRow[] industryPenalties()
        returns an array of penalties row objects for industry groups. these contain the industry ID, BenchWt, Initial Weight, Active Weight, Optimal Weight and optimal Active Weight.
        Returns:
        industry penalties.
      • sectorPenalties

        ReportsTables.PenaltiesRow[] sectorPenalties()
        returns an array of penalties row objects for sector groups. these contain sectors ids, benchmark weights, initial weights, active weights, and optima active weights.
        Returns:
        sector penalties
      • quadraticPenalties

        ReportsTables.PenaltiesRow[] quadraticPenalties()
        returns an array of penalties row objects for attributes added to the problem. these contain sectors ids, benchmark weights, initial weights, active weights, and optima active weights.
        Returns:
        quadratic penalties
      • addIndustryPenalties

        void addIndustryPenalties​(java.lang.String name,
                                  double benchWt,
                                  double initWt,
                                  double initActvWt,
                                  double optWt,
                                  double optActvWt)
      • addSectorPenalties

        void addSectorPenalties​(java.lang.String name,
                                double benchWt,
                                double initWt,
                                double initActvWt,
                                double optWt,
                                double optActvWt)
      • addQuadraticPenalties

        void addQuadraticPenalties​(java.lang.String name,
                                   double benchWt,
                                   double initWt,
                                   double initActvWt,
                                   double optWt,
                                   double optActvWt)