Re: [ns] How to accede to a membre variable in AODV from another file mac_802.11.cc?

2007-06-30 Thread Martina Umlauft
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

Re: [ns] Awk (file or code) in ns TCL scripts

2007-04-17 Thread Martina Umlauft
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

Re: [ns] Strange problem with AWK

2006-12-08 Thread Martina Umlauft
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

Re: [ns] How to set parameters in simulations

2006-10-31 Thread Martina Umlauft
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

Re: [ns] Problem with filtering trace file

2006-10-24 Thread Martina Umlauft
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

Re: [ns] DSR version in Ns2.29

2006-10-24 Thread 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

Re: [ns] "rate_" parameter in Exponential traffic

2006-10-22 Thread 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

Re: [ns] Time resolution

2006-10-13 Thread Martina Umlauft
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

Re: [ns] How to compute collision rate on wireless network ?

2006-10-09 Thread Martina Umlauft
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] -

Re: [ns] Why "out.data" is empty

2006-09-28 Thread Martina Umlauft
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

Re: [ns] Does anyone in this forum has detailed knowledge about the NS2source code?

2006-06-02 Thread Martina Umlauft
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

Re: [ns] Woes adding new 'Behaviour' class to NS-2

2006-05-18 Thread Martina Umlauft
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, >

Re: [ns] UMTS simulation error

2006-05-17 Thread Martina Umlauft
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

Re: [ns] Traffic simulation in 3G/WCDMA network using NS2

2006-05-12 Thread Martina Umlauft
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

Re: [ns] Changing trace files

2006-05-07 Thread Martina Umlauft
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

Re: [ns] a comparison between the wireless routing protocols

2006-04-03 Thread Martina Umlauft
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

Re: [ns] gprs help!!!!(urgent)

2006-03-27 Thread Martina Umlauft
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

Re: [ns] gprs and ns

2006-03-19 Thread Martina Umlauft
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

Re: [ns] Supporting infrastructure WLANs in NS2

2006-03-16 Thread Martina Umlauft
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

Re: [ns] Supporting infrastructure WLANs in NS2

2006-03-16 Thread Martina Umlauft
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

Re: [ns] wireless examples with access point models?

2006-02-23 Thread Martina Umlauft
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

Re: [ns] wireless examples with access point models?

2006-02-23 Thread Martina Umlauft
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

Re: [ns] difference between ns and ns_ ?

2006-02-10 Thread Martina Umlauft
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

Re: [ns] static routing in ad hoc network

2006-02-02 Thread Martina Umlauft
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.