|
static synchronized ShiftWorkCoach | getInstance (SensePlatform sensePlatform) |
|
|
static String | name = TYPE.SHIFTWORK.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.ShiftWorkCoach.manualInitialization |
( |
double |
toBedTime, |
|
|
double |
wakeUpTime, |
|
|
Schedule |
schedule |
|
) |
| |
Initialize with sleep values
Initialize the coach with the normal sleep to bed hour and out bed hour.
- Parameters
-
toBedTime | The normal to bed hour |
wakeUpTime | The normal wake up hour |
- Returns
- True if the initialization succeeds.
boolean nl.sense_os.cortex.coaching.ShiftWorkCoach.personalInitialization |
( |
Schedule |
schedule | ) |
|
Initialize with calibration values
Initialize the coach with the calibrated sleep time values, and the work Schedule
- Parameters
-
schedule | The work schedule |
- Returns
- True if the initialization succeeds, false if the CalibrationCoach does not have the baseline values
The documentation for this class was generated from the following file:
- android-sdk/src/nl/sense_os/cortex/coaching/ShiftWorkCoach.java