Commit Graph

1811 Commits

Author SHA1 Message Date
Tommaso Pecorella
6fb9855af5 doc: align documentation and classes to match and remove warnings. 2024-02-21 12:29:26 -06:00
Tom Henderson
27aa41e454 core: Add assert and debugging message to catch ObjectFactory errors 2024-02-17 01:16:42 +00:00
Tommaso Pecorella
47768894aa doc: fix doxygen grouping 2024-02-16 16:33:27 +00:00
Tommaso Pecorella
7f830d7295 core: remove redefinition of std::filesystem 2024-02-13 21:47:22 +01:00
Eduardo Almeida
82153c2964 build, core: (fixes #790) Remove experimental filesystem 2024-02-13 21:47:22 +01:00
Tommaso Pecorella
f9c57ac182 core: Add deprecated for ns-3.42 2024-02-13 08:04:52 -06:00
André Apitzsch
7b717ff485 core: Get doublings in trickle-timer the elegant way 2024-02-10 23:24:36 +00:00
Eduardo Almeida
6ec7ff4ea5 core: Fix EnumChecker::GetName() 2024-01-31 23:48:42 +00:00
André Apitzsch
6b8bbb9641 core: add test for attribute enum class 2024-01-31 15:32:16 +01:00
André Apitzsch
647149e39a Add enum class support to EnumValue 2024-01-31 15:32:16 +01:00
Eduardo Almeida
aa6ea3dcf6 Remove NS_DEPRECATED_3_39 methods 2024-01-29 23:24:51 +00:00
Eduardo Almeida
7b3ef55ef2 Remove NS_DEPRECATED_3_38 methods 2024-01-29 20:52:28 +00:00
Eduardo Almeida
2b37f7d3c6 Remove NS_DEPRECATED_3_37 methods 2024-01-29 20:52:09 +00:00
Eduardo Almeida
4dcbc8f7a2 Remove NS_DEPRECATED_3_36 methods 2024-01-29 20:50:09 +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
Gabriel Ferreira
22cc44a26a spectrum: (fixes #995) Apply rule of zero to MatrixArray
Removing explicitly declared special members.
2024-01-23 08:26:06 +00:00
Stefano Avallone
2c8c6ccea1 core: Add a UniformRandomVariable wrapper to meet UniformRandomBitGenerator requirements 2024-01-15 18:11:49 +00:00
Stefano Avallone
71c5c37999 core: Log macros print boolean values as true/false instead of 1/0 2023-12-11 08:43:51 +01:00
Gabriel Ferreira
8f6a3413a4 style: apply black and isort 2023-11-20 21:30:01 -03:00
Gabriel Ferreira
0f45fcd005 build: initialize previously uninitialized variables 2023-11-19 12:30:11 -03:00
Tommaso Pecorella
e43724f08a fix doxygen and tweak API 2023-11-10 09:50:44 +00:00
Tommaso Pecorella
808e3b4ec7 core: add a Simulator::GetStopEvent 2023-11-10 09:50:44 +00:00
Gabriel Ferreira
842871c6dc bindings: (fixes #796) Gracefully exit when bindings are unavailable 2023-11-03 01:28:26 +00:00
Gabriel Ferreira
f6f3df14da core: abort on duplicate TypeId 2023-11-02 23:40:06 +00:00
Eduardo Almeida
0cb17f8281 Simplify formatting by removing redundant parenthesis and semicolons 2023-10-31 17:59:16 +00:00
Lars Toenning
302abf5a95 core: Extend ns3::Time(std::string) documentation 2023-10-28 02:35:48 +00:00
André Apitzsch
41ba71b748 build, core: remove code required for cmake versions < 3.12
With the raise of the minimal CMake version, this is no longer needed.
2023-10-25 10:28:59 +02:00
Eduardo Almeida
f33ec133c5 core: Merge ParameterLogger::operator<< template specializations
Also remove pass-by-value overload to simplify code
2023-10-21 15:49:12 +01:00
Eduardo Almeida
96d7587845 core: Fix clang-tidy modernize-use-nullptr warning 2023-10-19 22:29:07 +01:00
Gabriel Ferreira
3e3b9a2f96 core: make 'norm' unambiguous 2023-10-17 18:16:21 -03:00
Gabriel Ferreira
5b130ba365 core: template id isn't allowed in constructors and destructors on C++20
https://timsong-cpp.github.io/cppwp/n4861/diff.cpp17#class-2
2023-10-17 18:16:21 -03:00
Eduardo Almeida
8a0dae335a core, wimax: Fix clang-tidy readability-implicit-bool-conversion warnings 2023-10-04 18:56:25 +00:00
Eduardo Almeida
53c8c975b2 core: Simplify code of RealtimeSimulatorImpl::Run()
Thanks to Peter Barnes
2023-10-04 17:19:47 +00:00
Eduardo Almeida
b1f2afc372 core: (fixes #812) Fix variable overwrite in RealtimeSimulatorImpl::Run()
Thanks to Peter Barnes
2023-10-04 17:19:47 +00:00
Eduardo Almeida
59246fb83d Fix spelling typos 2023-10-03 00:32:07 +01:00
Tom Henderson
f2a092cb63 core: Add deprecated for ns-3.41 2023-09-27 14:45:20 -07: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
1f438ce6f4 Fix clang-tidy modernize-use-auto warnings 2023-09-18 00:36:46 +01:00
Eduardo Almeida
aedd34ca8f Fix local #include headers by removing the "ns3/" prefix 2023-09-17 17:19:59 +01:00
Eduardo Almeida
ba859a0d66 Fix clang-tidy modernize-use-bool-literals warnings 2023-09-15 16:36:26 +00:00
Lauri Sormunen
ba88f48f1e core: (fixes #949) fix bound callbacks arguments type detection 2023-09-14 21:43:28 +00:00
Eduardo Almeida
992c5b53c4 Fix clang-tidy modernize-type-traits warnings 2023-08-24 01:41:29 +01:00
Eduardo Almeida
62b3adef31 Fix clang-tidy modernize-use-transparent-functors warnings 2023-08-24 01:35:02 +01:00
Stefano Avallone
67c81c737e core: Explicitly instantiate some Callback class and function templates 2023-08-20 13:57:51 +00:00
Eduardo Almeida
31b8b8fb3a core: Fix Doxygen in callback.h 2023-08-08 18:02:14 +00:00
Gabriel Ferreira
6a71f98430 core: Remove unnecessary linking statements to threads libraries 2023-07-14 16:15:32 -03:00
Tom Henderson
45d7be2cd6 core: Add deprecated for ns-3.40 2023-07-09 00:49:13 +00:00
Tommaso Pecorella
829d8d5701 core: add test for attribute unordered map 2023-06-21 10:43:52 -05:00
Tom Henderson
b23e65c2bb core: (fixes #905) Move log severity class 'debug' below 'logic' 2023-06-12 03:46:38 +00:00