A Discrete-Event Network Simulator
API
grid-animation.cc File Reference
#include <iostream>
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/netanim-module.h"
#include "ns3/applications-module.h"
#include "ns3/point-to-point-layout-module.h"
+ Include dependency graph for grid-animation.cc:

Go to the source code of this file.

Detailed Description

Usage

$ ./ns3 run "grid-animation [Program Options]"

Program Options

–xSize
Number of rows of nodes [5]
–ySize
Number of columns of nodes [5]
–animFile
File Name for Animation Output [grid-animation.xml]

Definition in file grid-animation.cc.