|
static String | name = TYPE.SLEEP_DURATION.name() |
|
static String | TAG = "Coach" |
|
|
| Coach (String name, SensePlatform sensePlatform, AIM aiModule, Coach.TYPE coach_type) |
|
void | handleRequirementsUpdate () |
|
List< AIMBase > | submodules = new ArrayList<AIMBase>() |
|
TYPE | coach_type |
|
boolean | requirementsAreUpdated = false |
|
boolean nl.sense_os.cortex.coaching.SleepDurationCoach.manualInitialization |
( |
double |
sleepDuration | ) |
|
Initialize with a manual goal
The Coach will be initialized with a manual goal which we be the target value for each day.
- Parameters
-
sleepDuration | The sleep duration in hours. |
- Returns
- True if the initialization was successful
boolean nl.sense_os.cortex.coaching.SleepDurationCoach.personalInitialization |
( |
boolean |
adaptive | ) |
|
Initialize with a personal goal
Based on the Calibration values a baseline value will be selected.
The CalibrationCoach should not give the advice to run the CalibrationCoach,
otherwise the CalibrationCoach could have to little data for computing a baseline for this coach.
- Parameters
-
adaptive | Set whether the Coach should be adaptive (update the goal based on progress) |
- Returns
- True if the CalibrationCoach has a baseline value, else it will return false.
boolean nl.sense_os.cortex.coaching.SleepDurationCoach.personalInitialization |
( |
boolean |
adaptive, |
|
|
double |
baselineSleepDuration |
|
) |
| |
Initialize with a personal goal
Based on the provided baseline mental resilience the coach will be initialized.
- Parameters
-
adaptive | Set whether the Coach should be adaptive (update the goal based on progress) |
baselineSleepDuration | The baseline sleep duration value in hours. |
- Returns
- True if the initialization succeeds.
The documentation for this class was generated from the following file:
- android-sdk/src/nl/sense_os/cortex/coaching/SleepDurationCoach.java