Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Process-ing/feup-aed1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FEUP-AED1 - SchAEDuler

Repository for the first project of the Algorithms and Data Structures course, at FEUP.

Objectives of the Project

The main goal of the project is to create a schedule management system for FEUP's informatic system, with various functionalities related to schedules, such as modifying, searching, viewing, sorting and listing, among others. This project also focuses on the usage of linear and hierarchical data structures (vector, list, set, queue, stack, ...), as well as sorting and search algorithms.

Instructions to Run

  1. Clone the repository
  2. Run the following commands on the terminal:
    cd feup-aed1                   # Open project
    mkdir build && cd build        # Create and open build directory
    cmake .. && cmake --build .    # Build project
    ./feup-aed1                    # Run project
    

Tips and Tricks (for anyone doing a similar project)

  • To reference efficiently objects in certain data structures (such as UcClasses), we used iterators, which worked well because those data structures were not modified after reading the dataset, but if you need to do modifications, this solution is not viable. In either case, we recommend using smart pointers, which were what we used in our second project, as they are much more reliable and flexible.
  • When they say to use the linear and hierarchical data structures, use ALL of them. We change the request_archive_ field in the Dataset class from a stack to a deque last minute, because of the efficiency when saving to file. Although we explained in our presentation that we were using the deque basically as a stack, we still received no points in the stack "part" :')

Contributors and Results

Grade: 19.25/20 (would be 19.75 if we used a stack :') )

About

First Project for FEUP's AED course unit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published