# rahul22-55/aiml-labs architecture

> Architecture diagram of the GitHub repository rahul22-55/aiml-labs, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-08). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rahul22-55/aiml-labs
- Repository: https://github.com/rahul22-55/aiml-labs

## Overview

This repository is a collection of three standalone lab scripts, not a single product workflow. They demonstrate PIN enumeration, graph pathfinding, and Find-S concept learning. The graph shows each script’s main behavior and the CSV input used by the learning exercise; the unused text file is omitted. Relationships are limited to calls and file reads visible in the supplied excerpts.

Main entry points: [`lab2.py`](https://github.com/rahul22-55/aiml-labs/blob/main/lab2.py) (Pathfinding Runner), [`lab3.py`](https://github.com/rahul22-55/aiml-labs/blob/main/lab3.py) (Learning Script), [`asset/workload_data.csv`](https://github.com/rahul22-55/aiml-labs/blob/main/asset/workload_data.csv) (Workload CSV)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_pin_generator["PIN Generator<br/>[lab1.py]"]
node_pathfinding_runner["Pathfinding Runner<br/>[lab2.py]"]
node_bfs["BFS Search<br/>[lab2.py]"]
node_dfs["DFS Search<br/>[lab2.py]"]
node_learning_script["Learning Script<br/>[lab3.py]"]
node_workload_data["Workload CSV<br/>[workload_data.csv]"]
node_find_s["Find-S Algorithm<br/>[lab3.py]"]

node_pathfinding_runner -->|"calls"| node_bfs
node_pathfinding_runner -->|"calls"| node_dfs
node_learning_script -->|"reads"| node_workload_data
node_learning_script -->|"executes"| node_find_s

click node_pin_generator "https://github.com/rahul22-55/aiml-labs/blob/main/lab1.py"
click node_pathfinding_runner "https://github.com/rahul22-55/aiml-labs/blob/main/lab2.py"
click node_bfs "https://github.com/rahul22-55/aiml-labs/blob/main/lab2.py"
click node_dfs "https://github.com/rahul22-55/aiml-labs/blob/main/lab2.py"
click node_learning_script "https://github.com/rahul22-55/aiml-labs/blob/main/lab3.py"
click node_workload_data "https://github.com/rahul22-55/aiml-labs/blob/main/asset/workload_data.csv"
click node_find_s "https://github.com/rahul22-55/aiml-labs/blob/main/lab3.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_pin_generator,node_pathfinding_runner,node_bfs,node_dfs,node_learning_script,node_workload_data,node_find_s toneTeal
```

## Components

### Other components

- [PIN Generator](https://github.com/rahul22-55/aiml-labs/blob/main/lab1.py): `lab1.py`
- [Pathfinding Runner](https://github.com/rahul22-55/aiml-labs/blob/main/lab2.py): `lab2.py`
- [BFS Search](https://github.com/rahul22-55/aiml-labs/blob/main/lab2.py): `lab2.py`
- [DFS Search](https://github.com/rahul22-55/aiml-labs/blob/main/lab2.py): `lab2.py`
- [Learning Script](https://github.com/rahul22-55/aiml-labs/blob/main/lab3.py): `lab3.py`
- [Workload CSV](https://github.com/rahul22-55/aiml-labs/blob/main/asset/workload_data.csv): `asset/workload_data.csv`
- [Find-S Algorithm](https://github.com/rahul22-55/aiml-labs/blob/main/lab3.py): `lab3.py`

## Connections

- Pathfinding Runner → BFS Search: calls (evidence: `lab2.py`)
- Pathfinding Runner → DFS Search: calls (evidence: `lab2.py`)
- Learning Script → Workload CSV: reads (evidence: `lab3.py`)
- Learning Script → Find-S Algorithm: executes (evidence: `lab3.py`)
