Commit Graph

41 Commits

Author SHA1 Message Date
Timo Bingmann
7f8370b67e 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
34c7ac0277 Bug 485: implement deserialization of normal/gaussian random variables 2009-03-03 10:57:42 +00:00
Mathieu Lacage
1d6fe7685a add regression tests back 2009-02-25 13:40:06 +01:00
Mathieu Lacage
196177a74d improve coherency between UniformVariable and RandomVariable, explain why the extra overload is necessary. 2009-02-25 13:10:22 +01:00
Mathieu Lacage
952c1818e4 kill dead API 2009-02-25 11:00:42 +01:00
Raj Bhattacharjea
d509a8ef15 Fix previous changeset 2009-02-23 23:49:17 -05:00
Raj Bhattacharjea
c8423550f5 Almost have env variable support for RNG right 2009-02-23 22:55:16 -05:00
Raj Bhattacharjea
bf33a71945 Michelle's bounds patch 2009-01-22 14:42:18 -05:00
Raj Bhattacharjea
ac192394c3 Commit Mathieu's coding style cleanup of random-variable 2009-01-22 14:10:40 -05:00
Raj Bhattacharjea
5d667957a7 Fix old code that crept in 2009-01-20 16:36:08 -05:00
Raj Bhattacharjea
a0ce50f7ff Proposed RNG API changes 2009-01-13 17:15:44 -05:00
Mathieu Lacage
75cba72257 Do not assert. Use NS_FATAL_ERROR. 2008-09-11 09:54:19 -07:00
Gustavo J. A. M. Carneiro
7c2c80af1b Check the return value of read(); Fixes #336. 2008-09-11 15:21:19 +01:00
Craig Dowell
89e20b56c9 Patch for bug 240 2008-06-27 09:32:34 -07:00
Unknown
544f9d1a81 Bug 181 2008-06-19 14:46:27 -07:00
Raj Bhattacharjea
1aef4543cc bug 181: Normal Variable Infinite Value & Bounds 2008-06-13 17:19:53 -07:00
Mathieu Lacage
8559d575f5 bug 61: warning must be fatal. 2008-06-09 11:39:29 -07:00
Mathieu Lacage
4ff40c4a07 get rid of Attribute class. Use AttributeValue subclasses directly. 2008-04-17 13:42:25 -07:00
Mathieu Lacage
8bfd88b80b get rid of scary implementation details of Attribute. 2008-04-10 12:59:31 -07:00
Gustavo J. A. M. Carneiro
56299308b6 Fix deserialization for Constant and Uniform random variables. 2008-03-20 15:10:56 +00:00
Mathieu Lacage
9a0f0f438f convert RandomVariable to new helpers. 2008-02-21 18:28:05 +01:00
Mathieu Lacage
144e84154b UintValue -> Uinteger, IntValue -> Integer 2008-02-21 00:09:16 +01:00
Mathieu Lacage
b511f31d39 Accessor -> AttributeAccessor 2008-02-20 20:57:59 +01:00
Mathieu Lacage
6353d911c0 PValue -> Attribute 2008-02-20 19:57:31 +01:00
Mathieu Lacage
c194579f5e split checker from ParamSpec. 2008-02-18 00:18:45 +01:00
Mathieu Lacage
23c4395731 convert RandomVariable, Rectangle, Vector, and Time to the new Class Helper 2008-02-13 22:39:17 +01:00
Mathieu Lacage
f826fbc2d9 add Value support to RandomVariable. 2008-02-07 22:40:46 +01:00
Mathieu Lacage
f03f1c237b bug 133: automate RandomVariable memory management. 2008-02-07 19:57:21 +01:00
Raj Bhattacharjea
b471e74ef8 Fixed randomvariable memory bug that caused a segfault 2007-11-01 14:59:00 -04:00
Raj Bhattacharjea
5a0fa236cb 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
bd1932f12c In some places, print debug messages / errors to stderr, not stdout. 2007-08-02 14:48:36 +01:00
Raj Bhattacharjea
600aa2ec16 Added Triangularly distributed random variables 2007-07-18 17:43:45 -04:00
Gustavo J. A. M. Carneiro
e518ba5de5 Fix swapped parameters in LogNormalVariable::GetSingleValue and add a couple of LogNormalVariable unit tests. 2007-05-19 16:40:40 +01:00
Raj Bhattacharjea
c7db73ec6b Added static RNGs, like ExponentialVariable::GetSingleValue(mean) 2007-05-03 14:19:33 -04:00
Raj Bhattacharjea
a158a93198 Randomvariable Lognormal added 2007-05-02 09:37:15 -04:00
Raj Bhattacharjea
b1135d3e02 Removed the unnecessary Seed classes 2007-04-03 10:24:18 -04:00
Raj Bhattacharjea
e3b2ac5313 Fixed NormalVariable::INFINITE_VALUE 2007-03-30 10:42:23 -04:00
Mathieu Lacage
55d3a13b59 move ValueCDF class to private class member 2007-03-29 16:35:34 +02:00
Raj Bhattacharjea
5bb49ff82b RandomVariable API in line with Michelle's comments 2007-03-22 16:41:01 -04:00
Raj Bhattacharjea
ac13b5523f Fixed major memory bug and docs in RandomVariable 2007-03-22 12:16:10 -04:00
Tom Henderson
7868600d6b Add random number files, base class Application 2007-03-17 22:32:08 -07:00