Class HistoricalDemography
java.lang.Object
org.episteme.social.history.HistoricalDemography
Models historical population dynamics, growth rates, and carrying capacity estimates.
Provides statistical models for demographic analysis across different historical eras.
- Since:
- 1.0
- Version:
- 1.1
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordData record representing population status at a point in time. -
Method Summary
Modifier and TypeMethodDescriptionstatic RealdependencyRatio(int age0to14, int age15to64, int age65plus) Calculates the dependency ratio.static RealdoublingTime(double growthRate) Calculates the doubling time of a historical population.static RealestimateCarryingCapacity(double landAreaKm2, String technologyEra) Estimates Carrying Capacity (K) based on land area and historical technology level.Returns a predefined list of global population snapshots throughout history.static RealprojectPopulation(long p0, double r, int years) Projects population based on Malthusian growth model.
-
Method Details
-
projectPopulation
Projects population based on Malthusian growth model. Formula: P(t) = P0 * e^(rt)- Parameters:
p0- initial populationr- annual growth rate (decimal, e.g., 0.01 for 1%)years- number of years to project- Returns:
- projected population as a
Realnumber
-
doublingTime
-
estimateCarryingCapacity
Estimates Carrying Capacity (K) based on land area and historical technology level.- Parameters:
landAreaKm2- land area in square kilometerstechnologyEra- the historical era (e.g., "paleolithic", "neolithic", "medieval")- Returns:
- estimated carrying capacity as a
Realnumber - Throws:
NullPointerException- if technologyEra is null
-
dependencyRatio
Calculates the dependency ratio. Formula: (young + old) / working age population.- Parameters:
age0to14- population aged 0-14age15to64- population aged 15-64age65plus- population aged 65 or older- Returns:
- dependency ratio as a
Realnumber
-
globalHistory
Returns a predefined list of global population snapshots throughout history.- Returns:
- unmodifiable list of global demographic snapshots
-