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

Re: [ns] A confusing question about vegas.cc code?



roundup of floating points.

On Mon, 6 Nov 2000, CWen56 wrote:

> Hi!
>     I am quite interested in vegas algorithm and having a further reasearch now.
> While I survey the sourec code of vegas.cc I found something strange. On the
> calculation of delta = int ((expect-vactual_)*v_baseRTT_ + 0.5), why constant
> 0.5 should be added? May someone tell me how this determination come from which
> paper? I didn't find this constant added in several papers about vegas
> discussion.
> 
> Thanks in advance
> Best Regard
> 
> --
> 
> Robert Chung-Wen Ma
> Postgraduate Student
> ATM Lab. Dept. of EE, NCKU
> 1. University Rd., 70101
> Tainan, Taiwan
> 
> Fax: +886-6-2081107
> Phone: +886-6-2757575 ext 62445 ext 679
> E-Mail: [email protected]
> 
> 
>