examples/simple-global-routing.cc
changeset 4218 debf1a8a96d3
parent 3381 3cdd9d60f7c7
child 4225 f1d873a81159
equal deleted inserted replaced
4084:dd514b5e0bc6 4218:debf1a8a96d3
    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