|
static synchronized ExerciseCoach | getInstance (SensePlatform sensePlatform) |
|
|
static String | name = TYPE.PHYSICAL_ACTIVITY.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.ExerciseCoach.manualInitialization |
( |
double |
exerciseMinutes | ) |
|
Initialize with a manual goal
The Coach will be initialized with a manual goal which we be the target value for each day.
- Parameters
-
exerciseMinutes | The amount of minutes to exercise each day. |
- Returns
- True if the initialization was successful
boolean nl.sense_os.cortex.coaching.ExerciseCoach.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.ExerciseCoach.personalInitialization |
( |
boolean |
adaptive, |
|
|
double |
baselineExerciseMinutes |
|
) |
| |
Initialize with a personal goal
Based on the provided baseline exercise minutes the coach will be initialized.
- Parameters
-
adaptive | Set whether the Coach should be adaptive (update the goal based on progress) |
baselineExerciseMinutes | The baseline exercise value in minutes. |
- 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/ExerciseCoach.java