Class CircadianRhythmModel
java.lang.Object
org.episteme.social.psychology.CircadianRhythmModel
Models circadian rhythms and their impact on cognitive alertness and performance.
- Since:
- 1.0
- Version:
- 1.1
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
Modifier and TypeMethodDescriptionstatic RealestimateAlertness(int hour) Estimates cognitive alertness (0.0 to 1.0) based on the hour of the day.static doublejetLagRecoveryDays(int timezoneShiftH, boolean eastward) Calculates estimated Jet Lag recovery time in days.
-
Method Details
-
estimateAlertness
Estimates cognitive alertness (0.0 to 1.0) based on the hour of the day. Uses a simplified sinusoidal model with a characteristic partial drop in the afternoon (the "post-lunch dip").- Parameters:
hour- Hour of day (0-23 in 24h format)- Returns:
- Estimated alertness level, where 1.0 is peak alertness
-
jetLagRecoveryDays
public static double jetLagRecoveryDays(int timezoneShiftH, boolean eastward) Calculates estimated Jet Lag recovery time in days. Based on general physiological recovery rates, which are typically faster for westward travel (lengthening day) than eastward travel (shortening day).- Parameters:
timezoneShiftH- Number of timezones crossed (hours)eastward- True if traveling East, False if West- Returns:
- Estimated days to full recovery
-