This project showcases an implementation of the Flyweight Design Pattern as part of a school assignment for IMT Atlantique. The Flyweight Pattern is used to minimize memory usage or computational expenses by sharing as much data as possible with related objects.
To compile and run the project, follow these steps:
Run make to compile the project. This will generate the executable in the bin directory.
makeAfter compilation, you can run the executable forest_sim:
bin/forest_simThe application generates data that can be visualized with plotGraph.py. Run the Python script to view the graphs:
python plotGraph.pysrc/: Contains all source files (.cpp) and header files (.h) for the project.
bin/: Contains the executable file forest_sim after compilation.
obj/: Contains intermediate object files (.o) generated during compilation.
plotGraph.py: Python script for plotting and visualizing data generated by the application.
Mathis Doutre - Florian Desplanque - Meriam Choummikh - Tancrède Donnais - Axel Rubio -
This project was developed as part of an assignment for IMT Atlantique to demonstrate the practical application of the Flyweight Design Pattern in software development.