BobAnkh / ns3-parallel

A Multitask Parallel Executor for ns-3 (network simulator).

Home Page:https://crates.io/crates/ns3-parallel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ns3-parallel

github-repo crates.io docs.rs LICENSE Apache-2.0

A Multitask Parallel Concurrent Executor for ns-3 (network simulator).

Usage

Define your config struct and param struct, implement trait BuildParam for the first and trait BuildCmd for the second.

Then call the ExecutorBuilder to build a Executor. Then launch the tasks, wait for the results.

Examples see examples/simple.rs.

To run the example, you can first execute the script setup-ns3.sh then execute cargo run --example simple in the root directory.

Currently support 4 config file formats: toml, ron, json, yaml. Example config files can see config.toml and config.ron under root. Welcome contributions for any new config format.

Maintainer

@BobAnkh

How to contribute

You should follow our Code of Conduct.

See CONTRIBUTING GUIDELINES for contributing conventions.

Make sure to pass all the tests before submitting your code.

Contributors

Yixin
Yixin Shen

LICENSE

Apache-2.0 © BobAnkh

About

A Multitask Parallel Executor for ns-3 (network simulator).

https://crates.io/crates/ns3-parallel

License:Apache License 2.0


Languages

Language:Rust 90.1%Language:Shell 5.5%Language:C++ 4.5%