A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
outdoor-random-walk-example.cc File Reference
#include "ns3/buildings-module.h"
#include "ns3/core-module.h"
#include "ns3/mobility-module.h"
#include "ns3/network-module.h"
+ Include dependency graph for outdoor-random-walk-example.cc:

Go to the source code of this file.

Functions

void PrintGnuplottableBuildingListToFile (std::string filename)
 Print the buildings list in a format that can be used by Gnuplot to draw them.
 

Function Documentation

◆ PrintGnuplottableBuildingListToFile()

void PrintGnuplottableBuildingListToFile ( std::string  filename)

Print the buildings list in a format that can be used by Gnuplot to draw them.

Parameters
filenameThe output filename.

Definition at line 37 of file outdoor-random-walk-example.cc.

References ns3::BuildingList::Begin(), ns3::BuildingList::End(), NS_LOG_ERROR, ns3::Box::xMax, ns3::Box::xMin, ns3::Box::yMax, and ns3::Box::yMin.

+ Here is the call graph for this function: