Represent topology

How to represent topology type in ns2 project is given below

set topo [new Topography] ;#??topography object

The below line represents 2D topology called flat grid
$topo load_flatgrid $val(x) $val(y)

Then create a new instance for god (General Operations Director) object

create-god $val(nn)

Leave a Reply

Your email address will not be published. Required fields are marked *