equal
deleted
inserted
replaced
62 #endif |
62 #endif |
63 |
63 |
64 // |
64 // |
65 // Make the random number generators generate reproducible results. |
65 // Make the random number generators generate reproducible results. |
66 // |
66 // |
67 RandomVariable::UseGlobalSeed (1, 1, 2, 3, 5, 8); |
67 uint32_t seed[6] = {1, 1, 2, 3, 5, 8}; |
|
68 SeedManager::SetSeed(seed); |
68 |
69 |
69 // Set up some default values for the simulation. Use the |
70 // Set up some default values for the simulation. Use the |
70 Config::SetDefault ("ns3::OnOffApplication::PacketSize", UintegerValue (210)); |
71 Config::SetDefault ("ns3::OnOffApplication::PacketSize", UintegerValue (210)); |
71 Config::SetDefault ("ns3::OnOffApplication::DataRate", StringValue ("448kb/s")); |
72 Config::SetDefault ("ns3::OnOffApplication::DataRate", StringValue ("448kb/s")); |
72 |
73 |