[Ns-developers] Random Variables API changes

Raj Bhattacharjea raj.b at gatech.edu
Tue Jan 20 08:47:26 PST 2009


On Tue, Jan 20, 2009 at 11:40 AM, Raj Bhattacharjea <raj.b at gatech.edu> wrote:
> quick ideas that need to be looked at.  The biggest of these is a
> change like the following:
>
> - UniformVariable::GetSingleValue (0, N)
> + UniformVariable().GetValue (0, N)
>
> I had to do this in one place to make things compile, but seems a bit

I forgot I had to do this in several places, or things similar to
this.  The affected files are:

src/devices/csma/backoff.cc
src/mobility/random-direction-2d-mobility-model.cc
src/routing/olsr/olsr-agent-impl.cc

I'm sure the maintainers of these would have their preferred implementation.


-- 
Raj Bhattacharjea
Georgia Institute of Technology
School of Electrical and Computer Engineering
Ph.D. Candidate
Systems Analyst
404.894.2955


More information about the Ns-developers mailing list