cd ~/nsnpsSimulator
Python 3.9.1 pip install numba pip install anytree pip install graphviz pip install json
Generates Computation graphs of input NSNP systems.
For the Subset Sum problem input parameters are assigned in input_ss.py. For simulations of other NSNP systems you must assign the input matrices in nsnps.py
Runs the nondeterministic simulator on the input instance from input_ss.py
python nsnps.py gen_ss_non_det
Runs the homogoeneous CPU simulator on the instances of ss generated by test_gen.py and outputs results to results_CPU_nondet
python nsnpsTest.py gen_ss_non_det
Runs the heterogeneous CPU/GPU simulator on the instances of ss generated by test_gen.py and outputs results to results_GPU_nondet
python nsnpsTestGPU.py gen_ss_non_det
Runs the deterministic simulator on the input instance from input_ss.py
python nsnps.py gen_ss_det
Runs the homogoeneous CPU simulator on the instances of ss generated by test_gen.py and outputs results to results_CPU_det
python nsnpsTest.py gen_ss_det
Runs the heterogeneous CPU/GPU simulator on the instances of ss generated by test_gen.py and outputs results to results_GPU_det
python nsnpsTestGPU.py gen_ss_det