Open dilawar opened 3 years ago
https://github.com/dilawar/nfsim/tree/python has primitive python bindings. One can build a python module that has high-level interface to the simulator.
[dilawars@chutki build (python)]$ python3 -c "import nfsim; print(dir(nfsim))" ['System', '__author__', '__builtins__', '__cached__', '__doc__', '__email__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '_nfsim', 'initSystemFromFlags', 'printHelp', 'printLogo', 'runAgentCell', 'runFromArgs', 'runRNFscript']
One can use the python module to run the model directly.
$ python -m nfsim -xml /path/to/xml
If community is interested, we can take it forward.
https://github.com/dilawar/nfsim/tree/python has primitive python bindings. One can build a python module that has high-level interface to the simulator.
One can use the python module to run the model directly.
If community is interested, we can take it forward.