A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
wraparound-model-test.cc File Reference
#include "ns3/boolean.h"
#include "ns3/config.h"
#include "ns3/hexagonal-wraparound-model.h"
#include "ns3/mobility-helper.h"
#include "ns3/node-container.h"
#include "ns3/simulator.h"
#include "ns3/test.h"
#include "ns3/waypoint-mobility-model.h"
+ Include dependency graph for wraparound-model-test.cc:

Go to the source code of this file.

Classes

class  WraparoundModelTest
 Wraparound Model Test. More...
 
struct  WraparoundModelTestSuite
 Wraparound Model Test Suite. More...
 

Functions

size_t GetNearestSite (std::vector< Vector3D > &sites, size_t numSites, Vector3D virtualPos)
 

Variables

WraparoundModelTestSuite g_WraparoundModelTestSuite
 the test suite
 

Function Documentation

◆ GetNearestSite()

size_t GetNearestSite ( std::vector< Vector3D > & sites,
size_t numSites,
Vector3D virtualPos )

Definition at line 51 of file wraparound-model-test.cc.

References ns3::CalculateDistance().

Referenced by WraparoundModelTest::DoRun().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: