4471
Strength, Power, Reactivity, & Speed Discussion / Re: Advanced Theory & Programming of The Human Organism
« on: November 07, 2010, 07:11:24 am »
Niceeeee , that's why i didnt fill anything in the data substruct.
The "athlete" data will be input on the beginning ( assesment func ).
But they will also be modified during the process.
ok , v1.1 patch:
struct UltimateTrainer
{
int assesmentFunc();
int trainingFunc();
int updateAthleteData();
int reFormTrainingPlan();
int evaluationFunc();
struct trainingData{
uA_bioanalysis_t bioanalysis; // height, weight, age, name.. contains pointers to muscleanalysis, boneanalysis, etc
uA_injury_history_t injury_history; // list of bone, tendon, ligament, etc injuries sustained
uA_training_history_t training_history; // linked list of training programs/systems utilized, including sub-lists of training sessions per day, also including the pre-testing & post-testing results for each training program
uA_muscles_t muscleanalysis; // linked list of each muscle group, force & length/tension characteristics, dynamic/static/passive flexibility characteristics, injury history list, circumference/CSA - complete mapping, fiber composition, tendon lengths to insertion on bone
uA_bones_t boneanalysis; // list of bone lengths, csa's - complete mapping, bone density
uA_braintype_t brainanalysis; // the conscious & subconscious psychological aspects of the athlete
uA_diet_t dietaryanalysis; // a list of days with sublists to each meal/snack/liquid intake for that day, based per 24hour period
uA_sleep_t sleepanalysis; // a list the sleep habits experien ....
....
....
}*data;
}
And the main function changes to:
runUltimateTrainer( struct UltimateTrainer *my_trainer )
{
my_trainer->assesmentFunc( my_trainer->data);
do{
my_trainer->trainingFunc( my_trainer->data);
my_trainer->updateAthleteData( my_trainer->data );
my_trainer->reformTrainingPlan( my_trainer->data );// this will be just dummy if no change is needed.
}while( my_trainer->evaluationFunc() != END_TRAINING );
}
The "athlete" data will be input on the beginning ( assesment func ).
But they will also be modified during the process.
ok , v1.1 patch:
struct UltimateTrainer
{
int assesmentFunc();
int trainingFunc();
int updateAthleteData();
int reFormTrainingPlan();
int evaluationFunc();
struct trainingData{
uA_bioanalysis_t bioanalysis; // height, weight, age, name.. contains pointers to muscleanalysis, boneanalysis, etc
uA_injury_history_t injury_history; // list of bone, tendon, ligament, etc injuries sustained
uA_training_history_t training_history; // linked list of training programs/systems utilized, including sub-lists of training sessions per day, also including the pre-testing & post-testing results for each training program
uA_muscles_t muscleanalysis; // linked list of each muscle group, force & length/tension characteristics, dynamic/static/passive flexibility characteristics, injury history list, circumference/CSA - complete mapping, fiber composition, tendon lengths to insertion on bone
uA_bones_t boneanalysis; // list of bone lengths, csa's - complete mapping, bone density
uA_braintype_t brainanalysis; // the conscious & subconscious psychological aspects of the athlete
uA_diet_t dietaryanalysis; // a list of days with sublists to each meal/snack/liquid intake for that day, based per 24hour period
uA_sleep_t sleepanalysis; // a list the sleep habits experien ....
....
....
}*data;
}
And the main function changes to:
runUltimateTrainer( struct UltimateTrainer *my_trainer )
{
my_trainer->assesmentFunc( my_trainer->data);
do{
my_trainer->trainingFunc( my_trainer->data);
my_trainer->updateAthleteData( my_trainer->data );
my_trainer->reformTrainingPlan( my_trainer->data );// this will be just dummy if no change is needed.
}while( my_trainer->evaluationFunc() != END_TRAINING );
}


