This file builds complete models for each data set, adds any common components, converts function layer to postfix expressions, whetever needs to be done to calculate the profiles completely.
Definition in file yanera_model_build.c.
Go to the source code of this file.
Functions | |
void | yanera_complete_models (yanera_container *yanera) |
Fills in all models with the base model. | |
void | copyModel (yanera_model *destination, yanera_model *source) |
Makes a copy of a yanera_model . | |
void | modifyModel (yanera_model *destination, yanera_model *source) |
Alters models to reflect differences from first, base model. | |
void | modifyComponents (yanera_model *destination, yanera_layer *component) |
Connects common components with their layers. |
void yanera_complete_models | ( | yanera_container * | yanera | ) |
yanera | The yanera_container to fill in the complete models. |
First step is to modify the base model by the extra models. Second step is to connect the extra model to the common components, if any. The last step is to convert any function expressions form infix to postfix.
Definition at line 28 of file yanera_model_build.c.
void copyModel | ( | yanera_model * | destination, | |
yanera_model * | source | |||
) |
destination | A newly allocated yanera_model . | |
source | A newly allocated yanera_model . |
Definition at line 97 of file yanera_model_build.c.
void modifyModel | ( | yanera_model * | destination, | |
yanera_model * | source | |||
) |
destination | The yanera_model that will be modified. | |
source | The yanera_model that has the differences. |
Definition at line 138 of file yanera_model_build.c.
void modifyComponents | ( | yanera_model * | destination, | |
yanera_layer * | component | |||
) |
destination | The yanera_model that will be modified. | |
component | The yanera_layer specifying component parts. |
Definition at line 304 of file yanera_model_build.c.