NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
random.cpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26 #include "random.hpp"
27 
28 namespace nfd {
29 
30 static boost::random::mt19937 g_rng;
31 
32 boost::random::mt19937&
34 {
35  return g_rng;
36 }
37 
38 } // namespace nfd
static boost::random::mt19937 g_rng
Definition: random.cpp:30
boost::random::mt19937 & getGlobalRng()
Definition: random.cpp:33