# pablousky4/polinomio_tda architecture

> Architecture diagram of the GitHub repository pablousky4/polinomio_tda, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-04-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/pablousky4/polinomio_tda
- Repository: https://github.com/pablousky4/polinomio_tda

## Overview

##### Project Type & Purpose
- This is a modular, console-based educational project. Each module (or “ejer”) implements a specific algorithm or data structure exercise (e.g., Towers of Hanoi, matrix determinants, spaceship management, and polynomial operations).
- The main driver is the “main.py” file, which provides an interactive menu to select and execute the different exercise modules.

##### Analyzing the File Structure
- Top-Level Files and Directories:
- README.md: Provides the project description.
- main.py: Contains the interactive menu for exercise selection.
- ejer1, ejer2, ejer3, ejer4: Each directory contains an __init__.py, a corresponding Python script with a unique exercise script (e.g., ejer1.py for Towers of Hanoi, and so on).
- The directories follow a modular design, where each exercise is self-contained and exposes specific functions or classes (e.g., resolver_puzzle() in ejer1, determinante_recursivo/iterativo in ejer2, etc.).
- The presence of __pycache__ directories indicates that the project adheres to standard Python module practices and is run interpretatively.

## Diagram (Mermaid)

```mermaid
flowchart TD
    subgraph "Python Environment"
        M["Main Menu Controller"]:::menu
        D["Project Documentation"]:::doc
        subgraph "Exercise Modules"
            E1["Ejer1: Towers of Hanoi"]:::module
            E2["Ejer2: Matrix Determinants"]:::module
            E3["Ejer3: Spaceship Management"]:::module
            E4["Ejer4: Polynomial Operations"]:::module
        end
    end

    M -->|"selects"| E1
    M -->|"selects"| E2
    M -->|"selects"| E3
    M -->|"selects"| E4

    classDef menu fill:#AED6F1,stroke:#1B4F72,stroke-width:2px;
    classDef module fill:#A9DFBF,stroke:#196F3D,stroke-width:2px;
    classDef doc fill:#F9E79F,stroke:#B9770E,stroke-width:2px;

    click M "https://github.com/pablousky4/polinomio_tda/blob/main/main.py"
    click E1 "https://github.com/pablousky4/polinomio_tda/blob/main/ejer1/ejer1.py"
    click E2 "https://github.com/pablousky4/polinomio_tda/blob/main/ejer2/ejer2.py"
    click E3 "https://github.com/pablousky4/polinomio_tda/blob/main/ejer3/ejer3.py"
    click E4 "https://github.com/pablousky4/polinomio_tda/blob/main/ejer4/ejer4.py"
    click D "https://github.com/pablousky4/polinomio_tda/blob/main/README.md"
```
