seldon-code / seldon

A code for opinion dynamics simulations.
GNU General Public License v3.0
6 stars 2 forks source link

Added benchmark dependencies and refactored main.cpp such that benchmarking is possible. #29

Closed AdityaPawar162 closed 7 months ago

AdityaPawar162 commented 7 months ago

I made efforts to benchmark the main.cpp file.This involved refactoring the code to improve argument parsing and simulation execution. Initially, I encountered challenges in parsing arguments specifically for benchmarking purposes.To overcome this, I first benchmarked the code with hardcoded paths, which proved to be successful. However, my goal was to make the code more adaptable by removing hardcoded paths.After iterative testing,I managed to implement a solution where paths are dynamically prompted at runtime.

Looking forward for comments and guidance on the approach taken.