Class GridScale

java.lang.Object
simpaths.model.decisions.GridScale

public class GridScale extends Object
CLASS TO DEFINE GRID AXES
  • Constructor Summary

    Constructors
    Constructor
    Description
    CONSTRUCTOR
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getIndex(Enum<?> axisID, int ageYears)
     
    int
    getIndex(Enum<?> axisID, int ageYears, int birthAge)
     
    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
    int
    METHOD TO EVALUATE THE NUMBER OF STATES CONSIDERED IN THE INNER LOOP FOR GRID SOLUTIONS AT AGE AA
    int
    outerGridSize(int aa)
    METHOD TO EVALUATE THE SIZE OF THE GRID SEGMENT ASSOCIATED WITH ALL OUTER STATES AT A GIVEN AGE
    int
    METHOD TO EVALUATE THE NUMBER OF STATES CONSIDERED IN THE OUTER LOOP FOR GRID SOLUTIONS AT AGE AA
    int
    totalGridSize(int aa)
    METHOD TO EVALUATE THE SIZE OF THE GRID SLICE ASSOCIATED WITH A GIVEN AGE

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public int getIndex(Enum<?> axisID, int ageYears)
    • getIndex

      public int getIndex(Enum<?> axisID, int ageYears, int birthAge)