[Ns-bugs] [Bug 133] automate memory management of RandomVariable

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Fri Feb 8 11:22:22 PST 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=133





------- Comment #6 from raj.b at gatech.edu  2008-02-08 14:22 -------
Just to be clear on declaration semantics, I now do the following to get
different distributions:

RandomVariable x = UniformVariableImpl(); 
RandomVariable y(ParetoVariableImpl());
//etc

Correct?  My only issue then is the fact that user code may have to include
classes with the word "Impl" in the name which is scary.  Perhaps the
RandomVariableBase subclasses could leave off the Impl naming?

Other than this clarification, I wouldn't be opposed to having this merged for
this month's release.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list