I need to generate a random wireless network of nodes over an area 1000 x 1000 m2 having a specified average number of neighbors along the nodes. So, is there an equation or a certain random distribution that relates average no. of neighbors with total number of nodes in the network and direct coverage distance which is also given?