Skip to content

KorsieBallesteros/nsnpsSimulator

Repository files navigation

Installation

cd ~/nsnpsSimulator

Python 3.9.1 pip install numba pip install anytree pip install graphviz pip install json

Simulator for Numerical Spiking Neural P Systems (NSNP Systems)

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

Non-deterministic solution to Subset Sum (SS)

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 

Deterministic solution to Subset Sum (SS)

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 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages