examples/mesh.cc
changeset 4869 bf6f699d4e03
parent 4868 35f396f9ff22
child 4872 ea1bce018a44
equal deleted inserted replaced
4868:35f396f9ff22 4869:bf6f699d4e03
    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;