equal
deleted
inserted
replaced
36 |
36 |
37 int |
37 int |
38 main (int argc, char *argv[]) |
38 main (int argc, char *argv[]) |
39 { |
39 { |
40 // Creating square topology with nNodes x nNodes grid: |
40 // Creating square topology with nNodes x nNodes grid: |
41 int xSize = 1; |
41 int xSize = 3; |
42 int ySize = 2; |
42 int ySize = 3; |
43 double step = 100.0; //Grid with one-hop edge |
43 double step = 100.0; //Grid with one-hop edge |
44 double randomStart = 0.1; //One beacon interval |
44 double randomStart = 0.1; //One beacon interval |
45 NodeContainer nodes; |
45 NodeContainer nodes; |
46 CommandLine cmd; |
46 CommandLine cmd; |
47 MobilityHelper mobility; |
47 MobilityHelper mobility; |