A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
lena-cqi-threshold.cc File Reference
#include "ns3/config-store.h"
#include "ns3/core-module.h"
#include "ns3/lte-module.h"
#include "ns3/mobility-module.h"
#include "ns3/network-module.h"
#include <ns3/buildings-helper.h>
+ Include dependency graph for lena-cqi-threshold.cc:

Go to the source code of this file.

Functions

static void ChangePosition (Ptr< Node > node)
 Change the position of a node.
 

Detailed Description

Usage

$ ./ns3 run "lena-cqi-threshold"

Definition in file lena-cqi-threshold.cc.

Function Documentation

◆ ChangePosition()

static void ChangePosition ( Ptr< Node node)
static

Change the position of a node.

This function will move a node with a x coordinate greater than 10 m to a x equal to 5 m, and less than or equal to 10 m to 10 Km

Parameters
nodeThe node to move.

Definition at line 39 of file lena-cqi-threshold.cc.