Eduardo Almeida
6ef966c4cf
Replace Doxygen tags using \ with @
2024-11-08 18:05:46 +00:00
André Apitzsch
8bc94a1cc3
Use SPDX license identifiers
2024-09-06 19:32:31 +00:00
Tom Henderson
40017b93d3
core: Use provided argument values
2024-09-04 01:11:20 +00:00
Tom Henderson
ae5830337b
core: Improve random variable logging
2024-09-04 01:11:20 +00:00
Sébastien Deronne
73474d22dc
core: Add largest extreme value random distribution
2024-08-20 18:04:33 +00:00
Sébastien Deronne
a9ffe7821e
core: Add laplacian random distribution
2024-08-20 18:04:33 +00:00
Sébastien Deronne
c834704d89
core: Add functions to calculate mean for Weibull distribution
2024-08-20 18:04:33 +00:00
AlessioBugetti
567566c259
core: (fixes #540) Add Bernoulli and Binomial Distributions
...
- Add BernoulliRandomVariable and BinomialRandomVariable to the random-variable-stream model
- Add BernoulliRandomVariable and BinomialRandomVariable to random-variables.rst
- Add a stanza to main-random-variable-stream.cc for BernoulliRandomVariable and BinomialRandomVariable
- Add tests for BernoulliRandomVariable and BinomialRandomVariable in random-variable-stream-test-suite.cc
- Update RELEASE_NOTES.md and CHANGES.md
2024-01-26 13:39:57 +01:00
Eduardo Almeida
86cc890d60
core: ( fixes #922 ) Remove check of EmpiricalRandomVariable pairs ending in exactly 1.0
2023-09-22 12:13:17 +00:00
Eduardo Almeida
50fb216380
core: Allow EmpiricalRandomVariable CDF pairs to be added in any order
...
- Save CDF pairs in std::map instead of EmpiricalRandomVariable::ValueCDF, which ensures that values are always ordered.
- Remove private class EmpiricalRandomVariable::ValueCDF, which is now unused.
2023-09-22 12:13:17 +00:00
Eduardo Almeida
ba859a0d66
Fix clang-tidy modernize-use-bool-literals warnings
2023-09-15 16:36:26 +00:00
Raghuram Kannan
e70609116a
core: ( fixes #855 ) Add caching to lognormal RNG
2023-03-23 16:39:47 +00:00
Gabriel Ferreira
6f076416e7
Fix typos
2023-02-21 22:29:29 -03:00
Peter D. Barnes, Jr
a680839d4c
core: accept std::vector for DeterministicRandomVariable values
2023-02-13 16:31:28 -08:00
Peter D. Barnes, Jr
bf8b442aeb
core: refactor GetInteger() in the random variable streams
2023-02-13 16:31:28 -08:00
Eduardo Almeida
dfc6fb9d2d
Remove emacs comment from C++ files
2022-10-14 14:13:12 +00:00
Eduardo Almeida
e25ff966fe
Apply clang-format to codebase
2022-10-07 20:08:35 +00:00
Eduardo Almeida
c1e7757315
Fix clang-tidy readability-isolate-declaration warnings
2022-10-07 11:48:11 +00:00
Eduardo Almeida
f87b53bbc5
Fix clang-tidy modernize-use-emplace warnings
2022-10-07 11:48:11 +00:00
Eduardo Almeida
4af0fe4b85
Fix clang-tidy modernize-use-nullptr warnings
2022-10-07 11:48:10 +00:00
Eduardo Almeida
6bb6383562
Fix clang-tidy modernize-redundant-void-arg warnings
2022-10-07 11:48:10 +00:00
Tom Henderson
b6a5ee8151
Run utils/trim-trailing-whitespace.py on codebase
2022-06-05 21:01:11 -07:00
Peter Barnes
0e685cbdbb
Use [[maybe_unused]] attribute directly, instead of NS_UNUSED
2021-12-21 10:32:43 +00:00
Tommaso Pecorella
73a14518e7
core: ( fixes #444 ) Remove Pareto::Mean attribute
2021-08-30 20:57:24 +00:00
Tom Henderson
84ead2465d
core: ( fixes #302 ) Fix NormalRandomVariable cache values
...
Credit to Peter Barnes for finding bug and suggesting solution. Also
affected the GammaRandomVariable (also fixed in this pach).
2020-12-28 13:38:49 -08:00
Peter D. Barnes, Jr
b7deb42a65
core: refactor EmpricialRandomVariable and provide example
2020-05-12 21:25:08 +00:00
InquisitivePenguin (GCI 2019)
6ec2093986
core: (fixes 2725) EmpiricalRandomVariable must not interpolate CDF
2020-05-12 21:25:07 +00:00
Peter Barnes
1d47a14c14
Tag uses of NS_DEPRECATED by release
2020-05-11 20:12:51 +00:00
Peter D. Barnes, Jr
063d86c096
core: clear check-style -l3 errors
2020-03-25 15:18:01 -07:00
Alexander Krotov
29ba0867b0
core: Fix paper title in GammaRandomVariable documentation
2019-10-11 19:37:06 +03:00
Peter D. Barnes, Jr.
43ef986a4d
core: Visual Studio compiler warnings (based on Robert Ammon's patch)
2018-03-27 19:19:12 -07:00
Peter D. Barnes, Jr.
bc2ab59d4c
[doxy] core/model
2017-09-18 00:51:28 -07:00
Alexander Krotov
2327498f91
core: Assert that probability is valid in EmpiricalRandomVariable::ValueCDF::ValueCDF
2017-04-07 20:27:21 +03:00
Alexander Krotov
e570129307
core: Check that CDF covers the whole distribution in EmpiricalRandomVariable::Validate
2017-04-07 20:23:34 +03:00
Alexander Krotov
bf762f52d6
core: Check that CDF is not empty in EmpiricalRandomVariable::Validate ()
2017-04-07 20:22:02 +03:00
Alexander Krotov
596e49504e
core: Mark members with m_ in EmpiricalRandomVariable class
2017-04-07 20:15:00 +03:00
Tommaso Pecorella
027deedd50
core: provide ParetoRandomVariable::GetScale implementation
2016-11-09 15:23:34 +01:00
Tommaso Pecorella
bec49d392d
core: ( fixes #2513 ) - Deprecates Mean attribute in ParetoRandomVariable
2016-11-08 01:42:06 +01:00
Peter D. Barnes, Jr.
0f2f1a7055
Doxygen files.
2015-05-04 17:55:16 -07:00
Rubén Martínez
2c53e2289a
bug 2082: Empirical RV fails if the value provided in the CDF member function is negative
2015-04-03 16:36:13 -07:00
Tom Henderson
6641331242
SetGroupName for core module
2015-03-27 11:40:08 -07:00
Tom Henderson
41b83c9851
remove deprecated RandomVariable class
2014-10-13 16:09:59 -07:00
Peter D. Barnes, Jr.
bfdb6ef10a
[Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace?
2014-09-26 15:51:00 -07:00
Peter D. Barnes, Jr.
070e2da241
Bug 1964: GetInteger overflow
2014-09-12 13:03:06 -07:00
Peter D. Barnes, Jr.
cd3da7143d
[doxygen] Revert r10410, r10411, r10412
2014-03-05 17:06:59 -08:00
Peter D. Barnes, Jr.
d75ff3559e
doxygen] Suppress "warning: Member NS_OBJECT_ENSURE_REGISTERED is not documented"
2013-11-14 16:58:28 -08:00
Vedran Miletić
f97431bf10
Clean up core module for building with Clang
...
This means removing unused private variables in random-variable-stream.{cc,h} and system-thread.h and fixing removing bad static_casts in calendar-scheduler.cc.
2013-07-05 14:35:20 +02:00
Vedran Miletić
dab91377b3
Remove NS_LOG_FUNCTION stuff from ::GetTypeId() functions.
2012-11-13 15:02:39 +01:00
Maja Grubišić
5e6ad05194
Clean up function logging of core module.
2012-11-10 19:16:38 +01:00
Vedran Miletić
71e380b55e
Bug 1237 - code cleanups related to includes
2012-09-01 20:57:21 +02:00