View - SeanSpires/Project1-306-Team-Stonks GitHub Wiki

The View is the visual component of the MVC pattern and displays the visualisation of the algorithm.

The View mainly consists of a play button which runs the algorithm.

The main visualisation of the algorithm is the dynamic adding of schedules to the Gantt Chart - as the algorithm runs to find the optimal schedule, the Gantt Chart will reflect the process.

The view shows:

  • Gantt Chart - Displays the schedule as resources across processes.
  • Time - Time taken for the algorithm to finish producing an optimal schedule.
  • Cores - The number of cores that the algorithm is running for parallelisation.
  • Processes - The number of processes to schedule the tasks on.
  • Run Button - Starts running the algorithm

The view is styled by the menuWindow stylesheet.