Class AthletePhysiology.PhysiologicalState

java.lang.Object
org.episteme.social.sports.AthletePhysiology.PhysiologicalState
All Implemented Interfaces:
Serializable
Enclosing class:
AthletePhysiology

public static class AthletePhysiology.PhysiologicalState extends Object implements Serializable
Represents a snapshot of an athlete's physiological condition.
Since:
1.0
Version:
1.1
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Constructor Details

    • PhysiologicalState

      public PhysiologicalState()
      Initializes a state representing a healthy, resting athlete.
  • Method Details

    • getStamina

      public double getStamina()
    • getMuscularFatigue

      public double getMuscularFatigue()
    • getHydration

      public double getHydration()
    • getGlycogenStores

      public double getGlycogenStores()
    • getHeartRate

      public double getHeartRate()
    • getOverallCondition

      public double getOverallCondition()
      Calculates an aggregate physical condition score.
      Returns:
      average score (0-100)
    • isExhausted

      public boolean isExhausted()
      Checks if the athlete is critically exhausted.
      Returns:
      true if stamina or glycogen is critically low
    • isDehydrated

      public boolean isDehydrated()
      Checks if the athlete is dehydrated.
      Returns:
      true if hydration is below 20%