How ardillachiki/examen_simulacion works
Project type and purpose
• This is a Python-based command-line simulation toolkit (“Examen_Simulacion”) for evaluating CPU scheduling algorithms (e.g., FCFS, Round Robin).
• Its goal is to load process definitions, run scheduling simulations, compute performance metrics, and emit results (console output, plots, tables).
File structure
• Top level
• data/ – input files (procesos.csv, procesos.json)
• main.py – CLI entry point that ties everything together
• requirements.txt – Python dependencies
• test/ – unit tests for each module
• src/ – core modules
• repositorio.py – “repository” for loading and storing process objects
• proceso.py – data model for a process (attributes: arrival time, burst, id, etc.)
• scheduler.py – abstract base or interface for scheduling policies
• roundRobinScheduler.py – concrete implementation of Round Robin
• Fcfsscheduler.py – concrete FCFS implementation
• metrics.py – computes response time, turnaround, waiting time, etc.
README for additional insights
• Describes installation, usage (python main.py), and that the simulations produce graphs/tables.