# itzajayzzz/csa-projects- architecture

> Architecture diagram of the GitHub repository itzajayzzz/csa-projects-, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/itzajayzzz/csa-projects-
- Repository: https://github.com/itzajayzzz/csa-projects-

## Overview

This is a small command-line disk scheduling simulation. Its workflow is fixed sample input → five scheduling paths → head-movement totals printed to the terminal. All runtime behavior is in sched.py; the README documents the algorithms, while the sampled source shows their implementation and output. The GlusterFS and RAID links are unrelated to this script’s demonstrated runtime.

Main entry points: [`sched.py`](https://github.com/itzajayzzz/csa-projects-/blob/main/sched.py) (Algorithm runner)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_simulation["Disk simulation"]
  node_inputs["Initial head and requests<br/>[sched.py]"]
  node_runner["Algorithm runner<br/>[sched.py]"]
  node_paths["Scheduling paths<br/>[sched.py]"]
  node_movement["Movement calculator<br/>[sched.py]"]
end

node_user(("User"))
node_terminal["Terminal output"]

node_user -->|"runs script"| node_runner
node_inputs -->|"provides input"| node_runner
node_runner -->|"builds five paths"| node_paths
node_runner -->|"measures paths"| node_movement
node_movement -->|"returns totals"| node_runner
node_runner -->|"prints paths and totals"| node_terminal

click node_inputs "https://github.com/itzajayzzz/csa-projects-/blob/main/sched.py"
click node_runner "https://github.com/itzajayzzz/csa-projects-/blob/main/sched.py"
click node_paths "https://github.com/itzajayzzz/csa-projects-/blob/main/sched.py"
click node_movement "https://github.com/itzajayzzz/csa-projects-/blob/main/sched.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_inputs,node_runner,node_paths,node_movement,node_user toneBlue
class node_terminal toneIndigo
```

## Components

### Disk simulation

- [Initial head and requests](https://github.com/itzajayzzz/csa-projects-/blob/main/sched.py): `sched.py`
- [Algorithm runner](https://github.com/itzajayzzz/csa-projects-/blob/main/sched.py): `sched.py`
- [Scheduling paths](https://github.com/itzajayzzz/csa-projects-/blob/main/sched.py): `sched.py`
- [Movement calculator](https://github.com/itzajayzzz/csa-projects-/blob/main/sched.py): `sched.py`

### Other components

- **User**
- **Terminal output**

## Connections

- User → Algorithm runner: runs script
- Initial head and requests → Algorithm runner: provides input
- Algorithm runner → Scheduling paths: builds five paths
- Algorithm runner → Movement calculator: measures paths
- Movement calculator → Algorithm runner: returns totals
- Algorithm runner → Terminal output: prints paths and totals
