Commit Graph
49 Commits
Author SHA1 Message Date
Mitch Watrous bfef0ebd2f Make test cases not return bool valuesMake all TestSuite instances be static 2011-01-17 12:53:20 -08:00
Mitch Watrous 53d882e28b Make all TestSuite instances be static 2011-01-10 15:55:29 -08:00
Tommaso Pecorella 278fd1b279 - added Scale and Shape Pareto rng constuctor
- clarified documentation
2010-03-02 01:14:02 +01:00
Tommaso Pecorella 89bef854f7 random-variable - doc updated and new Zeta distribution 2010-02-04 14:00:04 +01:00
Craig Dowell 28b50ac126 Remove and replace basic random number unit tests (bug 675) 2009-09-29 21:44:59 -07:00
Duy Nguyen a13bb7ee86 Fixed erroneous first return of Normal Variable 2009-08-24 18:31:59 -07:00
Francesco Malandrino d1a12fa89c New Zipf random variable 2009-06-23 22:42:09 -07:00
Timo Bingmann ecc200a45b bug 475: GammaVariable and ErlangVariable 2009-04-16 10:07:48 +02:00
Timo Bingmann 4d001c28b6 Adding UniformVariable::GetInteger and using it to fix bug in RealRandomStream::GetNext. 2009-03-04 18:55:32 +01:00
Gustavo J. A. M. Carneiro b8f47da22c Bug 485: implement deserialization of normal/gaussian random variables 2009-03-03 10:57:42 +00:00
Mathieu Lacage f310dc5fb3 add regression tests back 2009-02-25 13:40:06 +01:00
Mathieu Lacage 0ac7ce524d improve coherency between UniformVariable and RandomVariable, explain why the extra overload is necessary. 2009-02-25 13:10:22 +01:00
Mathieu Lacage 481fe8acde kill dead API 2009-02-25 11:00:42 +01:00
Raj Bhattacharjea 9356d78167 Fix previous changeset 2009-02-23 23:49:17 -05:00
Raj Bhattacharjea 54ff8c395a Almost have env variable support for RNG right 2009-02-23 22:55:16 -05:00
Raj Bhattacharjea e672542f24 Michelle's bounds patch 2009-01-22 14:42:18 -05:00
Raj Bhattacharjea a8f991079a Commit Mathieu's coding style cleanup of random-variable 2009-01-22 14:10:40 -05:00
Raj Bhattacharjea 034bead9f1 Fix old code that crept in 2009-01-20 16:36:08 -05:00
Raj Bhattacharjea 06c30cd0a1 Proposed RNG API changes 2009-01-13 17:15:44 -05:00
Mathieu Lacage ac97c918a7 Do not assert. Use NS_FATAL_ERROR. 2008-09-11 09:54:19 -07:00
Gustavo J. A. M. Carneiro 5445b1ad77 Check the return value of read(); Fixes #336. 2008-09-11 15:21:19 +01:00
Craig Dowell 300485a80e Patch for bug 240 2008-06-27 09:32:34 -07:00
craigdo@craig-dowells-imac.local 89645a04c7 Bug 181 2008-06-19 14:46:27 -07:00
Raj Bhattacharjea 1e2ad4f0fd bug 181: Normal Variable Infinite Value & Bounds 2008-06-13 17:19:53 -07:00
Mathieu Lacage 12ac5e6da5 bug 61: warning must be fatal. 2008-06-09 11:39:29 -07:00
Mathieu Lacage f0cf30bdb7 get rid of Attribute class. Use AttributeValue subclasses directly. 2008-04-17 13:42:25 -07:00
Mathieu Lacage 0acfb94e6d get rid of scary implementation details of Attribute. 2008-04-10 12:59:31 -07:00
Gustavo J. A. M. Carneiro 917dd66a5b Fix deserialization for Constant and Uniform random variables. 2008-03-20 15:10:56 +00:00
Mathieu Lacage 7e3dade1d8 convert RandomVariable to new helpers. 2008-02-21 18:28:05 +01:00
Mathieu Lacage 4cef9157ef UintValue -> Uinteger, IntValue -> Integer 2008-02-21 00:09:16 +01:00
Mathieu Lacage d40a50242a Accessor -> AttributeAccessor 2008-02-20 20:57:59 +01:00
Mathieu Lacage 1a5acc1349 PValue -> Attribute 2008-02-20 19:57:31 +01:00
Mathieu Lacage 1b2ccc38a3 split checker from ParamSpec. 2008-02-18 00:18:45 +01:00
Mathieu Lacage 540bb4c68d convert RandomVariable, Rectangle, Vector, and Time to the new Class Helper 2008-02-13 22:39:17 +01:00
Mathieu Lacage 41ebb83abb add Value support to RandomVariable. 2008-02-07 22:40:46 +01:00
Mathieu Lacage b7c68e1e69 bug 133: automate RandomVariable memory management. 2008-02-07 19:57:21 +01:00
Raj Bhattacharjea 02cbcd897e Fixed randomvariable memory bug that caused a segfault 2007-11-01 14:59:00 -04:00
Raj Bhattacharjea ca4ea099ca Fixed randomvariable bugs and modified unit tests so that there is no non-deterministic failure on the tests 2007-10-30 13:27:33 -04:00
Gustavo J. A. M. Carneiro 9b31c97ea7 In some places, print debug messages / errors to stderr, not stdout. 2007-08-02 14:48:36 +01:00
Raj Bhattacharjea fce683dca8 Added Triangularly distributed random variables 2007-07-18 17:43:45 -04:00
Gustavo J. A. M. Carneiro ad1d776003 Fix swapped parameters in LogNormalVariable::GetSingleValue and add a couple of LogNormalVariable unit tests. 2007-05-19 16:40:40 +01:00
Raj Bhattacharjea 4775cecf1e Added static RNGs, like ExponentialVariable::GetSingleValue(mean) 2007-05-03 14:19:33 -04:00
Raj Bhattacharjea 47435d654f Randomvariable Lognormal added 2007-05-02 09:37:15 -04:00
Raj Bhattacharjea 0a0ad705a8 Removed the unnecessary Seed classes 2007-04-03 10:24:18 -04:00
Raj Bhattacharjea c60a8f7b98 Fixed NormalVariable::INFINITE_VALUE 2007-03-30 10:42:23 -04:00
Mathieu Lacage 300d3d4cce move ValueCDF class to private class member 2007-03-29 16:35:34 +02:00
Raj Bhattacharjea b7b432d08f RandomVariable API in line with Michelle's comments 2007-03-22 16:41:01 -04:00
Raj Bhattacharjea 1156c5c924 Fixed major memory bug and docs in RandomVariable 2007-03-22 12:16:10 -04:00
Tom Henderson 24d8862f67 Add random number files, base class Application 2007-03-17 22:32:08 -07:00