/ENCS4330_Real_Time_-1-_SuperMarket

This project is a multi-processing application simulating supermarket operations, where customers interact with cashiers based on various factors. Using IPC techniques and OpenGL for visualization.

Primary LanguageC

Supermarket cashier simulation

This project is a multi-processing simulation of a supermarket environment, focusing on the behavior of cashiers while scanning customers' purchased items. Customers arrive randomly, select items with varied quantities, and spend random durations shopping. The simulation incorporates factors like cashier queue size, total items in shopping carts, scanning speed, and cashier behavior to determine customers' choices. Cashiers' positive behavior decreases over time, leading to their exit. The application employs various IPC techniques (semaphores, shared memory and signals). Additionally, it integrates OpenGL for a graphical representation of the simulation, offering users a visual insight into the dynamic interactions within the supermarket.

Video Description 📹

Screencast.from.12-15-2023.08.38.38.PM.webm

Features

  • Realtime
  • Queues
  • Shared Memories
  • Semaphores
  • Signals
  • OpenGL

Languages And Tools:

  • OpenGlCGitHub Linux Emacs