Class Grids

java.lang.Object
simpaths.model.decisions.Grids

public class Grids extends Object
CLASS TO DEFINE GRIDS THAT STORE INTERTEMPORAL OPTIMISATION SOLUTIONS MODULES OF THE CLASS FACILITATE INPUT AND EXTRACTION OF OPTIMISED DATA AS WELL AS DESCRIPTIVE DETAIL OF DATA THE GRIDS ARE DEFINED AS ONE-DIMENSIONAL VECTORS ELEMENTS OF EACH VECTOR ARE ORGANISED TO REFLECT IMPLICIT DIMENSIONAL AXES SEE DEFINITION OF THE AXES ATTRIBUTE FOR DETAILS
  • Field Details

    • valueFunction

      public Grid valueFunction
    • consumption

      public Grid consumption
    • employment1

      public Grid employment1
    • employment2

      public Grid employment2
  • Constructor Details

    • Grids

      public Grids()
      CONSTRUCTOR
  • Method Details

    • getScale

      public GridScale getScale()
      METHOD TO REPORT GRID SCALE
    • populate

      public void populate(States states, UtilityMaximisation solution)
      METHOD TO ADD CONTROL OPTIMISATION SOLUTION TO THE GRID ARRAYS
      Parameters:
      states - the state combination for which a solution applies
      solution - the solution obtained for the respective state combination
    • getValueFunction

      public double getValueFunction(States states)
    • getConsumptionShare

      public double getConsumptionShare(States states)
    • getEmployment1

      public double getEmployment1(States states)
    • getEmployment2

      public double getEmployment2(States states)