|
AntHocNet 2.0.0
Paper-faithful ant-colony ad hoc routing: the shared core and its adapters
|
#include </home/runner/work/AntHocNet/AntHocNet/ns3/model/anthocnet-adapters.h>
Public Member Functions | |
| Ns3Rng () | |
| double | uniform () override |
| Uniform double in [0, 1). | |
| int | uniformInt (int n) override |
| Uniform integer in [0, n). Caller guarantees n > 0. | |
| Ptr< UniformRandomVariable > | Stream () const |
| Expose the underlying stream so the protocol's AssignStreams() can seed it deterministically. | |
Public Member Functions inherited from anthocnet::core::IRng | |
| virtual | ~IRng ()=default |
Definition at line 26 of file anthocnet-adapters.h.
| ns3::anthocnet::Ns3Rng::Ns3Rng | ( | ) |
|
overridevirtual |
Uniform double in [0, 1).
Implements anthocnet::core::IRng.
|
overridevirtual |
Uniform integer in [0, n). Caller guarantees n > 0.
Implements anthocnet::core::IRng.
|
inline |
Expose the underlying stream so the protocol's AssignStreams() can seed it deterministically.
Definition at line 35 of file anthocnet-adapters.h.