Hello!
Seems to me that at the time when you try to access thisaodv->energy,
thisaodv is null. Trying to dereference a null pointer would give you a
Segfault for sure.
Have you tried to test whether thisaodv is null before doing
thisaodv->energy=thisaodv->energy-1;
?
Is thisaodv ever set co
Hi there,
Tariq Alsaifi schrieb:
> Hello every one!
>
> I did check the archive before I wrote this, and the only related I found was
> this:
>
> http://mailman.isi.edu/pipermail/ns-users/2006-May/055626.html
[...]
> The previous suggestion was:
>
> set tr [open "| awk -f filter.awk >out.tr" w
Hi there,
I think the reason might be that your locale is set to german and awk
expects a "," instead of a "." to denote the floating point number.
Try your script with a test file that uses 0,490384092 and see if it
works with that -> then you have confirmation.
My locale is set to:
[EMAIL PRO
And, of course, I can run many simulations with
different settings for the random generator.
So the next morning I can have the results for say, 20, 50, and 100
nodes in the same topology, all averaged over 30 simulation runs each.
good luck,
Martina Umlauft
vitz399 schrieb:
>
> Hel
y the lines above are not reformattet) the 30 is in column 16
as columns are counted starting with 1, not 0.
Just make a short test file with, say, 10 lines or so and run awk on it
printing the columns you're interested in to get a feeling for it. eg.:
awk '{print $16}' testfile
then '{print $17}' testfile
etc.
Good luck,
Martina Umlauft
states that the learning curve for ns is *very* steep and
that people should plan for *at least* 3 months to even get the simplest
things done?
I SOO have enough of these mails pestering the list asking for "urgent"
replies for something that will take them about a year to acomplish 3
days before the deadline
Martina Umlauft
rate_ is the rate at which traffic is sent during the burst time
(on-interval).
So, yes, your overall mean rate = rate_ * burst_time / (burst_time +
idle_time)
Note that this is only true for the mean as burst_time and idle_time are
only the means of the on- and off-interval respectively.
lg
Even though it was not my question...
Actually, the text in the link is not understandable to me at all... =:-o
--
Precision of the scheduler clock can be defined as the smallest
time-scale of the simulator that can be correctl
t way to save time and disk space, the only
drawback is that you can't later on decide that you want to look at
other data since only the filtered data is written.
good luck,
Martina Umlauft[EMAIL PROTECTED]
-
FAQ.
bye,
Martina Umlauft[EMAIL PROTECTED]
-
http://frauenweb.at/~tina
Aleksandar Smolovic schrieb:
> I am newbie at NS2. I am trying to make tcl script and to get as much data as
> it is possible. As output
this is where you should start.
greetings,
Martina Umlauft
Ahmad Khayyat schrieb:
> A design decision like this can be accepted if it was supported by
> proper documentation, which is absolutely not the case for ns-2. IMHO,
> the biggest problem of ns-2 is lack of proper documentati
ct and you probably need an explicit cast,
too. Something like: return( (*TclObject) new Behaviour() );
lg,
Martina Umlauft[EMAIL PROTECTED]
-
http://frauenweb.at/~tina
Paul Kiddie schrieb:
> Hi all,
>
d)
2) put the traffic source directly on the RNC as in the EURANE sample
script.
This bug is documented in a footnote in the section on HSDPA of the
EURANE manual, but it *also* affects the DCH, too, not just the HS-DCH.
HTH & good luck!
lg,
Martina Umlauft[E
Check out the Eurane Package:
http://www.ti-wmc.nl/eurane/
lg,
Martina Umlauft
Qie Tao schrieb:
> Hi,
> I am doing a research on traffic simulation in 3G network. I am wondering
> whether there is a package to model this kind of network using NS2. I would
> like to work on
t; $4}' >out.tr" w]
don't forget that you have to escape any " with \ (as shown in the
example above)!
lg,
Martina Umlauft
Diego Soares schrieb:
> Thanks for the answer, but if i exclude the fields that i wanto to
> eliminate, i get segmentation fault from the si
down and actually start coding.
Good luck with your simulations!
Martina Umlauft
Daniel Mahrenholz schrieb:
> Hello Alexandra,
>
> Alexandra Cioroianu schrieb:
>> Hello ns users!
>> I,m working with ns 2.29 in Mandriva 2006 and i need to make a comparison
>> betwee
Hi!
Maybe this is because your question is written badly and noone knows
which code you are talking about? Posting the same question multiple
times only annoys people and doesn't help at all.
The GPRS code most people know about is by Richa Jain from India. There
is a newer Version by Jeisa O
Hi there,
1. do not use the gprs module by richa jain, look for the GPRS module by
Jeisa P. Olivera (search the mailing list archives to find it). That is
a much improved version of the Richa Jain code with many bugs fixed.
You need an old version of ns (2.1b9a) and therefore an old gcc versio
Hi!
For some reason I never saw the original post... maybe the spam filter
ate it.
Rest of comments inline.
David Fuste schrieb:
> First of all, thank you very much to all...I thought the post was lost
> :) Martina, your information has been very useful.
> And second, thanks Pedro, I will lo
Hi,
look for the NOAH (Non-Ad-Hoc) routing module for ns-2. With this you
can prevent wireless nodes from talking directly with each other; iow.
you can force them to go through the BS and have an infrastructure network.
I do not know of any module that implements Association/Disassociation
o
Sorry, was meant to be "wired-cum-wireless" of course.
Martina Umlauft schrieb:
> Hi,
>
> search for "wired-com-wireless" - that's the name it is commonly called
> in the ns literature. Eg. take a look at the respective chapter in the
> marc greis tuto
Hi,
search for "wired-com-wireless" - that's the name it is commonly called
in the ns literature. Eg. take a look at the respective chapter in the
marc greis tutorial. You might also want to take a look at the NOAH
routing module.
HTH,
Martina
George P Nychis schrieb:
> Hi,
>
> I am lookin
Hi,
this is a very common naming convention. I have seen it very often in
C++, not just in ns code. Typically, the "_" (underscore) is used for
member variables of a class while variable names without "_" are used
for global and local variable names. This helps to quickly identify
whether a v
Hi,
there is the NOAH module (NOn Ad-Hoc Routing). It is available as a
patch for ns-2.26 and you can use it to set your own routing table for
wireless networks. A student of mine has successfully used it for his
project.
I don't have the URL handy but I'm sure you'll find it if you google.
24 matches
Mail list logo