~comnets/openwns-systemtest-wimac/systemtest-wimac--main--1.0

« back to all changes in this revision

Viewing changes to PyConfig/experiment1/campaignConfiguration.py

  • Committer: Benedikt Wolz
  • Date: 2010-10-15 10:18:50 UTC
  • Revision ID: bmw@comnets.rwth-aachen.de-20101015101850-zd3k5cfrnb8x0sq4
tutorial: speedup & beautification

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 
44
44
# begin example "wimac.tutorial.experiment1.campaignConfiguration.offeredTraffic"
45
45
for rate in xrange(0,5):
46
 
    params.offeredTraffic = (0.01 + 2.5 * rate) * 1e6
 
46
    params.offeredTraffic = 2.5 * rate * 1e6
47
47
    params.write()
48
48
# end example
49
49