13.07.2015 Views

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

32 P. Narayan and V.R. Syrotiukentire duration of the simulation T . S<strong>in</strong>ce DSR and AODV are reactive, the traceis valid only between t start and t stop when data flow actually exists.Only a subsequence of mobile graph G correspond<strong>in</strong>g to the time betweent start and t stop is used to extract actual paths, run the SMP algorithm, and computethe MERIT ratio. Let us denote this subsequence as G ′ = G tstart ...G tstop .For every graph <strong>in</strong> the mobile graph G ′ , we compute the actual path from thesource to the dest<strong>in</strong>ation.To compute the MERIT ratio for the mobile graph G ′ , the SMP algorithmrequires the shortest path <strong>in</strong> each graph of the mobile graph and the shortestpath <strong>in</strong> the <strong>in</strong>tersection of all subsequences of the graph sequence. We implementDijkstra’s shortest path algorithm to f<strong>in</strong>d the shortest hop path <strong>in</strong> any graph,while comput<strong>in</strong>g the cost matrix for the SMP algorithm. We use hop count asthe metric for our implementation of the SMP because both DSR and AODVuse this metric <strong>in</strong> their path computation.For this work, we consider the cases where we assign the constant values of0, 0.5, 1.0, 1.5 and 2.0 for the update cost. We chose a maximum value of 2.0 forour update cost because we found that the average path length for our simulationexperiments did not exceed 3.5 hops.4 MERIT Spectra for DSR and AODVWe conduct two sets of experiments. In the first set, we measure the MERITratio for different scenarios <strong>by</strong> vary<strong>in</strong>g the degree of mobility. In the second set,we keep the mobility rate constant and measure the MERIT ratio <strong>by</strong> vary<strong>in</strong>gthe data rate for the CBR flow from the source to the dest<strong>in</strong>ation.In all cases, our results are averaged over a sufficiently large number of runs toensure a small variance (95% confidence <strong>in</strong>terval). From the confidence <strong>in</strong>tervalcalculations on our experimental results, we f<strong>in</strong>d that the MERIT ratio varieswith<strong>in</strong> 2.85% of the plotted value.4.1 Parameters of InterestThe parameters aga<strong>in</strong>st which we plot MERIT spectra <strong>in</strong>clude:Mean speed: A mean speed of 2 m/s equates to the speed of a pedestrian anda mean speed of 10 m/s corresponds to the speed of a mov<strong>in</strong>g vehicle.Data arrival rate: The data arrival rate represents the number of packets sentper second. For our experiments, we use data arrival rates of 2, 4, 6, 8 and10 packets/second, with the traffic be<strong>in</strong>g sent out at a constant rate and thepacket size be<strong>in</strong>g constant at 64 <strong>by</strong>tes.Average path length: The average path length for a simulation run denotesthe average actual path length (hop count) over all the paths for the specifiedsource-dest<strong>in</strong>ation pair.Average end-to-end delay: The average end-to-end delay for a run denotesthe average end-to-end packet delay (<strong>in</strong> units of number of seconds) computedfrom the router trace for the data packets sent <strong>by</strong> the candidate protocols.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!