chore: update README with build instructions and troubleshooting guide; remove outdated analysis files

This commit is contained in:
2025-12-08 14:52:41 +00:00
parent 903022719e
commit a591dcfc52
4 changed files with 55 additions and 209 deletions

54
README.md Normal file
View File

@@ -0,0 +1,54 @@
# DTSS - Distributed Traffic Simulation System
**Sistemas Distribuídos 2024/2025**
**Autores:** David Alves, Leandro Afonso, Gabriel Moreira
Simulador de tráfego distribuído (Malha 3x3) com comunicação TCP/IP e modelo de eventos discretos.
### 📋 Pré-requisitos
* **Java 17+**
* **Maven 3.6+**
-----
### Build
Compilar e gerar o JAR executável:
```bash
cd main
mvn clean package
```
-----
### Execução
Inicia todos os processos (Dashboard, Coordenador, Nós, Saída) numa única instância.
```bash
cd main
mvn javafx:run
```
-----
### Cenários de Carga
**Arquivos disponíveis em `src/main/resources/`:**
* `simulation-low.properties` ($\lambda=0.2$)
* `simulation-medium.properties` ($\lambda=0.5$)
* `simulation-high.properties` ($\lambda=1.0$)
-----
### Troubleshooting Rápido
**Port already in use / Limpeza de Processos:**
Se a simulação falhar ou portas ficarem presas, matar todos os processos Java associados:
```bash
pkill -f "sd.IntersectionProcess|sd.dashboard.DashboardServer|sd.coordinator.CoordinatorProcess"
```