Skip to content
Max Revitt edited this page Jun 5, 2012 · 6 revisions

The GameConst class exists to set up all the constants used during simulation. It is a final class consisting of static variables and hence cannot be altered once instantiated. All variables are public static final.


To-Do:

  • Justify the constants chosen

Useful Links:


Data Members:

  • GROWTH_MARKET_STATE

    • default value: 0.05
    • Sets rate of growth of growing world market
  • STABLE_MARKET_STATE

    • default value: 0.02
    • Sets rate of growth of stable world market
  • RECESSION_MARKET_STATE

    • default value: 0.03
    • Sets rate of growth of recession world market
  • GROWTH_MARKET_\CHANCE

    • default value: 0.1
    • Chance of a growing world market
  • STABLE_MARKET_CHANCE

    • default value: 0.8
    • Chance of a stable world market
  • RECESSION_MARKET_CHANCE

    • default value: 0.1
    • Chance of a recession world market
  • ECONOMIC_OUTPUT_REDUCTION

    • default value: 1
    • we don't know what this is
  • CARBON_INVESTMENT_PRICE

    • default value: 1
    • Price of investment in one extra ton of carbon per year
  • GROWTH_SCALER

    • default value: 0.001
    • Normalises value of GDP rate increase
  • PERCENTAGE_OF_GDP

    • default value: 0.1
    • % of GDP available to spend on development
  • CARBON_REDUCTION_COEFF

    • default value: 1
    • Coefficient to calculate the cost of carbon reduction
  • CARBON_ABSORPTION_COEFF

    • default value: 1
    • Coefficient to calculate the cost of carbon absorption
  • FOREST_BLOCK_SIZE

    • default value: 100
    • Size of a block of arable land
  • FOREST_CARBON_OFFSET

    • default value: 10
    • Amount of cabon (in tons) offset by a single unit of forest
Clone this wiki locally