This pull request introduces significant changes to the MiFarma project, including the addition of new binary tree classes and their integration into the ControllerProgram and VistaUsuario classes. The most important changes include the implementation of ArbolBalanceado and ArbolBinario classes, modifications to the ControllerProgram to use these classes, and updates to the VistaUsuario class to support new functionalities.
New Binary Tree Classes:
MiFarma/ArbolBalanceado.h: Added a new balanced binary tree class ArbolBalanceado with various methods for insertion, searching, traversal, and deletion.
MiFarma/ArbolBinario.h: Added a new binary tree class ArbolBinario with similar functionalities to ArbolBalanceado.
MiFarma/NodoAB.h: Added a new node class NodoAB to be used by the binary tree classes.
Integration with ControllerProgram:
MiFarma/ControllerProgram.h: Integrated ArbolBinario into the ControllerProgram class for managing product IDs. Added methods to initialize and use the binary tree. [1][2][3][4][5][6]
This pull request introduces significant changes to the
MiFarma
project, including the addition of new binary tree classes and their integration into theControllerProgram
andVistaUsuario
classes. The most important changes include the implementation ofArbolBalanceado
andArbolBinario
classes, modifications to theControllerProgram
to use these classes, and updates to theVistaUsuario
class to support new functionalities.New Binary Tree Classes:
MiFarma/ArbolBalanceado.h
: Added a new balanced binary tree classArbolBalanceado
with various methods for insertion, searching, traversal, and deletion.MiFarma/ArbolBinario.h
: Added a new binary tree classArbolBinario
with similar functionalities toArbolBalanceado
.MiFarma/NodoAB.h
: Added a new node classNodoAB
to be used by the binary tree classes.Integration with
ControllerProgram
:MiFarma/ControllerProgram.h
: IntegratedArbolBinario
into theControllerProgram
class for managing product IDs. Added methods to initialize and use the binary tree. [1] [2] [3] [4] [5] [6]Integration with
VistaUsuario
:MiFarma/VistaUsuario.h
: UpdatedVistaUsuario
class to includeArbolBinario
for product ID search functionality. [1] [2] [3] [4] [5] [6] [7] [8] [9]Miscellaneous Changes:
MiFarma/Funciones.h
: Added a new utility functionremoverPrimerCaracter
to remove the first character from a string.MiFarma/Libreria.h
: Fixed include statements for standard libraries.MiFarma/MiFarma.vcxproj
andMiFarma/MiFarma.vcxproj.filters
: Updated project files to include new header files for the binary tree classes. [1] [2] [3]MiFarma/Source.cpp
: Modified the main function to pass a print function to theControllerProgram
constructor.