[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] error model



> hi

the markov model in ns doesnt seem to work. ( Is that right..)
change the corrupt function in the errormodel.cc ....u may get something
out of there
lets hope u get an answer from the developers .....
u can even try  http://students.washington.edu/abouzeid
..all the best
..vijay





> How can i use the 2states markov model with ns (i use ns2.1b8)?
> I tried this but it doesn't work:
> ----------------------------------------------
> set rate [list  0.3 0.7 ]
> set transition [list 0.1 0.9 ]
> set transunit pkt
> set errObj [new ErrorModel/TwoState $rate $transunit $transition]
> ----------------------------------------------
>
> I have the following errors:
> ----------------------------
> no value given for parameter "rv0" to "_o59"
>     (Object next line 1)
>     invoked from within
> "$self next"
>     (procedure "_o59" line 2)
>     (ErrorModel/TwoStateMarkov init line 2)
>     invoked from within
> "_o59 init {0.3 0.7} pkt {0.3 0.7}"
>     (Class create line 1)
>     invoked from within
> "ErrorModel/TwoStateMarkov create _o59 {0.3 0.7} pkt {0.3 0.7}"
>     invoked from within
> "catch "$className create $o $args" msg"
>     (procedure "new" line 3)
>     invoked from within
> "new ErrorModel/TwoStateMarkov $rate $transunit $transition"
>     (procedure "MarkovErrorProc" line 7)
>
> Laurent

--
P.Vijaysimha Reddy
Communications Group,
(IA)Center for Wireless Communications,
Science Park II,Singapore.