Class GridScale
java.lang.Object
simpaths.model.decisions.GridScale
CLASS TO DEFINE GRID AXES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintinnerGridSize(int aa) METHOD TO EVALUATE THE SIZE OF THE GRID SEGMENT ASSOCIATED WITH ALL INNER STATES AT A GIVEN AGE FOR IO SOLUTIONSintinnerGridStates(int aa) METHOD TO EVALUATE THE NUMBER OF STATES CONSIDERED IN THE INNER LOOP FOR GRID SOLUTIONS AT AGE AAintouterGridSize(int aa) METHOD TO EVALUATE THE SIZE OF THE GRID SEGMENT ASSOCIATED WITH ALL OUTER STATES AT A GIVEN AGEintouterGridStates(int aa) METHOD TO EVALUATE THE NUMBER OF STATES CONSIDERED IN THE OUTER LOOP FOR GRID SOLUTIONS AT AGE AAinttotalGridSize(int aa) METHOD TO EVALUATE THE SIZE OF THE GRID SLICE ASSOCIATED WITH A GIVEN AGE
-
Constructor Details
-
GridScale
public GridScale()CONSTRUCTOR
-
-
Method Details
-
innerGridStates
public int innerGridStates(int aa) METHOD TO EVALUATE THE NUMBER OF STATES CONSIDERED IN THE INNER LOOP FOR GRID SOLUTIONS AT AGE AA- Parameters:
aa- defines the age index of interest (age = aa + simpaths.data.Parameters.AGE_TO_BECOME_RESPONSIBLE)- Returns:
- defines the number of states
-
outerGridStates
public int outerGridStates(int aa) METHOD TO EVALUATE THE NUMBER OF STATES CONSIDERED IN THE OUTER LOOP FOR GRID SOLUTIONS AT AGE AA- Parameters:
aa- defines the age index of interest (age = aa + simpaths.data.Parameters.AGE_TO_BECOME_RESPONSIBLE)- Returns:
- defines the number of elements in the given grid slice
-
innerGridSize
public int innerGridSize(int aa) METHOD TO EVALUATE THE SIZE OF THE GRID SEGMENT ASSOCIATED WITH ALL INNER STATES AT A GIVEN AGE FOR IO SOLUTIONS- Parameters:
aa- defines the age index of interest (age = aa + simpaths.data.Parameters.AGE_TO_BECOME_RESPONSIBLE)- Returns:
- defines the number of elements in the given grid slice
-
outerGridSize
public int outerGridSize(int aa) METHOD TO EVALUATE THE SIZE OF THE GRID SEGMENT ASSOCIATED WITH ALL OUTER STATES AT A GIVEN AGE- Parameters:
aa- defines the age index of interest (age = aa + simpaths.data.Parameters.AGE_TO_BECOME_RESPONSIBLE)- Returns:
- defines the number of elements in the given grid slice
-
totalGridSize
public int totalGridSize(int aa) METHOD TO EVALUATE THE SIZE OF THE GRID SLICE ASSOCIATED WITH A GIVEN AGE- Parameters:
aa- defines the age index of interest (age = aa + simpaths.data.Parameters.AGE_TO_BECOME_RESPONSIBLE)- Returns:
- defines the number of elements in the given grid slice
-
getIndex
-
getIndex
-