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

Re: RE: [ns] problem with markov modelling ...



hi,
i had tried that ...the same problem stilll exists
please help
thanks a lot
steve

------------- Original Message --------------
"jahn-isi" <[email protected]> wrote:
To:"stecve  jobs" <[email protected]>
From:"jahn-isi" <[email protected]>
Date:Wed, 27 Jun 2001 02:57:44 +0900
CC:"[email protected]" <[email protected]>
Subject: RE: [ns] problem with markov modelling ...

One obvious problem is with m_transmx. It should be {{0.9 0.1}{0.2 0.8}}.
The sum of each bracket's probabilities should be 1.
-jahn

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf
Of stecve jobs
Sent: Tuesday, June 26, 2001 11:27 PM
To: [email protected]
Subject: [ns] problem with markov modelling ...


hi
i am trying to use the example in the manual in whihc a three state error model is used .So i changed it to a 2 state as below.. however there is a problem in that 
the there is no tarce file ....shortly there seems to be something wrong .,Can some one help me out ..or tell where i can get dome examples of markov error modelling ..
------------------------------------------

  set good [new ErrorModel/Uniform .9 pkt]
        set bad [new ErrorModel/Uniform .5 pkt]
        # Array of states (error models)
        set m_states [list  $good $bad]
        # Durations for each of the states, tmp, tmp1 and tmp2, respectively
        set m_periods [list .75 .25]
        # Transition state model matrix
        set m_transmx { {0.9 0.1} {0.1 0.8 } }
        set m_trunit pkt
        # Use time-based transition
        set m_sttype time
        set m_nstates 2
        set m_nstart [lindex $m_states 0]
        set em [new ErrorModel/MultiState $m_states $m_periods $m_transmx $m_trunit $m_sttype $m_nstates $m_
nstart]
//-------------------------------------------------
thanks a lot
..steve

_____________________________________________________
Buy Lagaan & Yaadein music for 30% less.
Avail this special offer at http://shopping.rediff.com/shopping/music/offerrediffmailer.htm 



_____________________________________________________
Buy Lagaan & Yaadein music for 30% less.
Avail this special offer at http://shopping.rediff.com/shopping/music/offerrediffmailer.htm