MUHAMMAD FAZA ABIYYU

SYSTEM ANALYST & SOFTWARE DEVELOPER

0
Back to Projects
Case Study Undergraduate Thesis Research Developer

Swarm Wave

Multi-Agent Task Scheduling with Swarm Intelligence

A comprehensive web application implementing bio-inspired optimization techniques (ACO & PSO) to solve complex resource allocation problems in distributed computing environments, featuring real-time visualization and interactive algorithm simulation.

8 Functional Requirements
4 UML Diagrams
8 Tech Components
SSE Real-time Streaming
Problem

Complex Multi-Agent Scheduling

Task scheduling in multi-agent environments is an NP-hard problem. Traditional heuristic methods struggle with large-scale scenarios involving multiple agents, task dependencies, and varying resource constraints. Finding optimal or near-optimal schedules requires intelligent optimization approaches.

Solution

Bio-Inspired Swarm Intelligence

Swarm Wave applies Ant Colony Optimization (ACO) and Particle Swarm Optimization (PSO) — two bio-inspired metaheuristics — to find near-optimal task schedules. With real-time SSE streaming, researchers can observe algorithm convergence and compare performance interactively.

Functional Requirements

Code Requirement Description
FR-01Algorithm SimulationRun ACO and PSO algorithms on selected datasets
FR-02Real-time StreamingStream algorithm iterations via Server-Sent Events (SSE)
FR-03Data ManagementImport/Export tasks and agents via CSV and JSON files
FR-04Visual AnalyticsInteractive Chart.js graphs for fitness progression
FR-05Parameter TuningAdjust heuristic parameters (alpha, beta, inertia, etc.) dynamically
FR-06Result ComparisonCompare makespan and execution times between algorithms
FR-07Interactive TableExcel-like grid for manual task and agent modifications
FR-08Containerized DeploymentDocker-ready setup for reproducible research environments

Swarm Intelligence Algorithms

ACO

Ant Colony Optimization

Inspired by ant foraging behavior. Artificial ants construct solutions by probabilistically selecting task-agent assignments based on pheromone trails and heuristic information. Pheromones are updated after each iteration, reinforcing good solutions and evaporating over time to avoid stagnation.

α (alpha) — Pheromone influence β (beta) — Heuristic influence ρ (rho) — Evaporation rate Q — Pheromone deposit factor
PSO

Particle Swarm Optimization

Inspired by bird flocking and fish schooling. Each particle represents a potential schedule, moving through the solution space by adjusting its velocity based on personal best (pbest) and global best (gbest) positions. The swarm collectively converges toward optimal solutions.

w — Inertia weight c₁ — Cognitive coefficient c₂ — Social coefficient v_max — Max velocity

System Architecture

Swarm Wave System Architecture - Frontend (Nuxt 4), Backend (Flask), Data Layer with Docker Compose

Use Case Diagram

Swarm Wave Use Case Diagram - Researcher and System actors

Class Diagram

Swarm Wave Class Diagram - Task, Agent, Schedule, ACOSolver, PSOSolver, SimulationResult

Sequence Diagram — Simulation Flow

Swarm Wave Sequence Diagram - Simulation flow from Researcher through Frontend, Backend API, to Algorithm Engine

Tech Stack

BackendPython / Flask
FrontendNuxt 4 / Vue 3
LanguageTypeScript
StylingTailwind CSS
ChartsChart.js
StreamingSSE (Server-Sent Events)
ContainerDocker Compose
DataCSV / JSON

Key Features

Real-time Algorithm Streaming

Server-Sent Events

Watch algorithm convergence in real-time as iterations progress. SSE streams iteration data from the Flask backend to the Nuxt frontend, updating charts and metrics live.

Interactive Data Management

DynamicTable Component

Excel-like table editor for creating, importing (CSV/JSON), and modifying task scheduling datasets. Researchers can customize task parameters before running simulations.

Performance Visualization

Chart.js Dashboards

Interactive convergence charts, fitness progression graphs, and makespan comparisons. Visual analytics help researchers evaluate and compare ACO vs PSO performance.

Docker Containerization

Production Ready

Full Docker Compose setup for reproducible experiments. Single command deployment with isolated frontend and backend containers for consistent research environments.