simulations/scratch/bus-topology.cc
void
BusTopology::CreateNodes()
{
	std::cout << "Creating " << (unsigned)numNodes << " nodes" << std::endl;

	nodes.Create(numNodes);
	std::cout << "Loading mobility" << std::endl;
	ns2 = Ns2MobilityHelper(traceFile);
	ns2.Install();
}
/**
 * Load the mobility trace set before into NS-3 nodes
 */
Load the mobility trace set before into NS-3 nodes
Load the mobility trace set before into NS - 3 nodes
void
BusTopology::CreateNodes()
{
	std::cout << "Creating " << (unsigned)numNodes << " nodes" << std::endl;
	nodes.Create(numNodes);
	std::cout << "Loading mobility" << std::endl;
	ns2 = Ns2MobilityHelper(traceFile);
	ns2.Install();
}
void BusTopology :: CreateNodes ( ) { std :: cout << " " << ( unsigned ) numNodes << " " << std :: endl ; nodes . Create ( numNodes ) ; std :: cout << " " << std :: endl ; ns2 = Ns2MobilityHelper ( traceFile ) ; ns2 . Install ( ) ; }
Load the mobility trace set before into NS-3 nodes
Load the mobility trace set before into NS - 3 nodes