A simple library for simulating Weiß Schwarz finishers. This repo is still under development, and there is no documentation available at this time. If you want to try this project, please refer to example/single_sim.cc
for guidance.
- Create a new test case function in
example/single_sim.cc
. - Update the main function to call the new function. (The
wssim::benchmark
function may be helpful.) - Build the code and run it. You will get a
out.json
file including the results.
$ mkdir build && cd build
$ cmake ..
$ make -j
$ example/single_sim
- If you want to plot the results, use the script
python/plot_output.py
. (Make sure you have installed matplotlib and numpy.)
$ # pip install matplotlib numpy
$ python ../python/plot_output.py -f ./output.json -t "The title" #in build dir