Class Grids
java.lang.Object
simpaths.model.decisions.Grids
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 Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetConsumptionShare(States states) doublegetEmployment1(States states) doublegetEmployment2(States states) getScale()METHOD TO REPORT GRID SCALEdoublegetValueFunction(States states) voidpopulate(States states, UtilityMaximisation solution) METHOD TO ADD CONTROL OPTIMISATION SOLUTION TO THE GRID ARRAYS
-
Field Details
-
valueFunction
-
consumption
-
employment1
-
employment2
-
-
Constructor Details
-
Grids
public Grids()CONSTRUCTOR
-
-
Method Details
-
getScale
METHOD TO REPORT GRID SCALE -
populate
METHOD TO ADD CONTROL OPTIMISATION SOLUTION TO THE GRID ARRAYS- Parameters:
states- the state combination for which a solution appliessolution- the solution obtained for the respective state combination
-
getValueFunction
-
getEmployment1
-
getEmployment2
-