# uacm-cs/computacion_evolutiva architecture

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

- Interactive diagram: https://gitdiagram.com/uacm-cs/computacion_evolutiva
- Repository: https://github.com/uacm-cs/computacion_evolutiva

## Overview

##### Main Components
- Notebooks Module: Represent the two Jupyter Notebooks (01-CE_resumen_python_01.ipynb and 02-CE_resumen_python_02.ipynb) as the interactive, primary course materials.
- Data Module: Include a data component representing the “data” directory which contains sample input files (celestina.txt and cromosomas.txt).
- Visualization/Output Module: Represent the “figs” directory as the component holding images or generated graphs that support the notebooks.
- Documentation & Configuration: Represent the README (which introduces the course) and files like .gitignore and LICENSE as support and configuration elements.

##### Relationships and Interactions
- The Notebooks load and process data from the Data Module during execution.
- The Notebooks likely generate or utilize figures stored in the Visualization Module.
- The README provides context and instructions for understanding the Notebooks and their flow.
- Configuration files ensure consistency in the development and deployment of the educational material.

##### Architectural Patterns/Design Principles
- Modular Design: Each component (notebooks, data, figures) is kept in its respective directory, indicating separation of concerns.
- Educational Workflow: The project flows from reading instructions (README) → executing notebooks (processing evolutionary computation experiments) → visualizing results using figures.

##### Relevant Technologies and Tools
- Jupyter Notebook as the interactive execution environment.
- Python as the underlying language for evolutionary computation exploration.
- Data files (plain text) that are used as input to the notebooks.
- Standard version control (Git) and licensing structure.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Documentation & Configuration
    subgraph "Documentation & Configuration"
        Doc1["README.md"]:::doc
        Doc2["LICENSE"]:::doc
        Doc3[".gitignore"]:::doc
    end

    %% Interactive Course Modules
    subgraph "Interactive Course Modules"
        N1["01-CE_resumen_python_01.ipynb"]:::notebook
        N2["02-CE_resumen_python_02.ipynb"]:::notebook
    end

    %% Data Sources and Output Figures
    DS["Data Sources (data/)"]:::data
    OF["Output Figures (figs/)"]:::fig

    %% Relationships
    %% Documentation directs users to the interactive modules (using README as primary guide)
    Doc1 -->|"guides"| N1
    Doc1 -->|"guides"| N2

    %% Data flows from Data Sources into each Notebook
    DS -->|"loadsData"| N1
    DS -->|"loadsData"| N2

    %% Notebooks produce output that is stored in Output Figures
    N1 -->|"generates"| OF
    N2 -->|"generates"| OF

    %% Click Events for Documentation & Configuration
    click Doc1 "https://github.com/uacm-cs/computacion_evolutiva/blob/main/README.md"
    click Doc2 "https://github.com/uacm-cs/computacion_evolutiva/tree/main/LICENSE"
    click Doc3 "https://github.com/uacm-cs/computacion_evolutiva/blob/main/.gitignore"

    %% Click Events for Interactive Course Modules
    click N1 "https://github.com/uacm-cs/computacion_evolutiva/blob/main/01-CE_resumen_python_01.ipynb"
    click N2 "https://github.com/uacm-cs/computacion_evolutiva/blob/main/02-CE_resumen_python_02.ipynb"

    %% Click Events for Data Sources and Output Figures
    click DS "https://github.com/uacm-cs/computacion_evolutiva/tree/main/data/"
    click OF "https://github.com/uacm-cs/computacion_evolutiva/tree/main/figs/"

    %% Styles
    classDef doc fill:#F9E79F,stroke:#000,stroke-width:2px;
    classDef notebook fill:#AED6F1,stroke:#000,stroke-width:2px;
    classDef data fill:#A9DFBF,stroke:#000,stroke-width:2px;
    classDef fig fill:#F5B7B1,stroke:#000,stroke-width:2px;
```
