Tommaso Pecorella
e2f1ff084b
core: fix doxygen warnings
2021-05-01 00:19:55 +02:00
Chappidi Yoga Satwik
854ca2ed34
core ( fixes #349 ): Warn about Config::SetDefault() of deprecated attribute
2021-03-01 09:25:33 -08:00
Tommaso Pecorella
d2d5459888
core: fix trickle-timer compilation on clang gt 10
2021-02-07 10:12:44 +00:00
Tommaso Pecorella
457142a618
core: Trickle timer implementation
2021-02-06 04:47:50 +00:00
Tom Henderson
d1de97b68b
core: Default to deterministic seed for random variable stream test
2021-01-31 20:40:50 -08: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
c631ccbac5
core: ( fixes #277 ) make Time::As() print with autoscaled unit
2020-12-22 07:08:14 -08:00
Mathew Bielejeski
2cea1e4ccd
core: (merges !434 ) Length class to support length values with units
2020-12-02 20:05:29 -08:00
Peter D. Barnes, Jr
eb432c90a5
core: int64x64_t GetInt() and Round(), with test cases
...
Merge of !473
2020-11-27 16:54:51 -08:00
Tommaso Pecorella
eeadfbb182
core: ( fixes !426 ) Align TimeWithUnit printing to the "normal" double behaviour
...
The new time printing format uses "automatic" promotion to scientific
notation - just like for normal doubles.
2020-09-30 08:37:41 +00:00
Tommaso Pecorella
9938e70cb7
core: fix test linking Address from network module
2020-09-22 11:57:56 +02:00
Jared Dulmage
d244597a2b
Documentation, better conformance to AttributeChecker conventions
...
Both PairChecker and AttributeContainerChecker factory functions
modified to return more generic AttributeCheckers similar to other
attribute types. By removing the templated return type, the internal
templated classes become necessary to define checkers for each
templated type. This follows the pattern in PointerChecker and
ObjectContainerChecker.
The pair-value-test-suite and attribute-container-test-suite were
amended to account for the changes in the checker factories. All
tests continue to pass.
Plenty of documentation was added to PairValue and AttributeContainerValue
and I also removed some dead code.
2020-09-20 15:33:38 -07:00
Jared Dulmage
c8f2bf250e
Addressed comments for nsnam/ns-3-dev MR 91
...
- Removed unnecessary files src/core/model/{attribute-container,pair}.cc
- Removed 'explicit' modifier to PairChecker
- Modified output stream operator for PairValue; update PairValueTestCase
- Updated src/core/wscript to latest master
- Added Pair and AttributeContainer to utils/print-introspected-doxygen.cc
2020-09-20 14:52:02 -07:00
Jared Dulmage
9392a452d8
Copyright and contact to Caliola Engineering, LLC
2020-09-20 14:52:02 -07:00
Jared Dulmage
4f4c893e52
STL container and pair attributes
...
This commit adds the ability to read / write attributes corresponding
to STL containers or pair structures. Testcases are included and
demonstrate how to add container or pair member variables as
attributes to your class.
2020-09-20 14:52:02 -07:00
Jordan Dorham
81b740721f
Merge pull request #15 in S3/s3-simulator from S3-19-time-arithmetic-implement to develop
...
Squashed commit of the following:
commit 1162a5c942c7c2a366883a3b4f5f47feface9344
Author: Peter D. Barnes, Jr <barnes26@llnl.gov >
Date: Wed Mar 18 16:44:50 2020 -0700
core: assert Time > 0 in operator< (Time, EventId) refinement
commit 83161ebb6f56fd467498528a5b54f2d6ef1bceba
Author: Peter D. Barnes, Jr <barnes26@llnl.gov >
Date: Wed Mar 18 15:59:38 2020 -0700
core: check-style nstime.h
commit d8a0c906997bd7608e19dfd93484477c9b121a67
Author: Peter D. Barnes, Jr <barnes26@llnl.gov >
Date: Wed Mar 18 15:56:34 2020 -0700
core: assert Time > 0 in operator< (Time, EventId)
commit 466e66031b6f26e7aaede00be7d8c692382f2b04
Author: Peter D. Barnes, Jr <barnes26@llnl.gov >
Date: Wed Mar 18 14:41:02 2020 -0700
core: check-style
commit 5fd40536a23ef683d9eb673a45b492efbe175750
Author: Peter D. Barnes, Jr <barnes26@llnl.gov >
Date: Wed Mar 18 14:21:33 2020 -0700
core: operator<(Time, EventId), and doxy
2020-08-20 08:43:40 +00:00
Mathew Bielejeski
b99295e119
Filter out program version text from command-line-example output
...
Updated reflog to reflect change in command-line-example output
2020-08-14 14:14:43 -07:00
Peter D. Barnes, Jr
0af2e32fbe
core: ( fixes #220 ) refactor random-variable-stream-test
2020-07-31 21:55:37 +00:00
Steven Smith
3a15ad78b8
core: Add test suite support for running examples as tests with comparison of output for regression testing
2020-05-26 21:42:16 +00:00
Peter D. Barnes, Jr
b7deb42a65
core: refactor EmpricialRandomVariable and provide example
2020-05-12 21:25:08 +00:00
Peter Barnes
4df94a8377
core: (fixes 2916): Specialize CommandLine parsing of uint8_t
2020-05-05 15:57:26 +00:00
Alexander Krotov
82b555582e
core: PriorityQueueScheduler based on std::priority_queue
...
This has a stub for Remove, which just cancels the event.
In turn this causes the simulator test case to fail, because of
the sanity check at the end of DefaultSimulatorImpl::Run.
2020-05-01 23:50:34 +00:00
Peter D. Barnes, Jr
18d0e5742f
core: fix failing enum test case
2020-04-11 09:57:49 -07:00
Peter D. Barnes, Jr
2fb2ed1689
doc: use \pname{} instead of \p when referring to arguments.
2020-04-10 17:30:25 -07:00
Peter D. Barnes, Jr
b98955f20a
core: check-style for core/{examples,helper,test}
2020-03-27 16:40:58 -07:00
Tom Henderson
0258405cc6
build: Upgrade scripts to Python 3 (many changes due to Ankit Deepak)
2019-08-12 16:55:34 -07:00
Natale Patriciello
441ae70c64
Example CI for ns-3 and Gitlab
2019-01-07 09:15:40 +01:00
Alexander Krotov
c8a500f5a8
Remove duplicate semicolons
2018-11-07 16:54:53 +03:00
Alexander Krotov
00bb6fe7f6
Spellcheck
2018-06-27 10:50:27 +03:00
Peter D. Barnes, Jr.
94e011240e
core: Use std::size_t for buffer size/len arguments
2018-05-22 15:10:10 -07:00
Pasquale Imputato
cbf467e9b5
Remove unused variables to fix build with clang 6 on Linux
2018-04-27 19:04:55 +02:00
Peter D. Barnes, Jr.
53d4b13067
core: threaded-test-suite.cc: use thread and chrono, instead of nanosleep
2018-04-16 18:05:10 -07:00
Peter D. Barnes, Jr.
8c84b8be73
core: bug 2461: CommandLine should handle non-option arguments
2018-04-05 17:32:03 -07:00
Peter D. Barnes, Jr.
e8f3f26eb0
core: command-line: minor docs and white space
2018-04-05 17:25:58 -07: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.
9dfc0d62a6
[doxy] core/test
2017-09-18 00:52:23 -07:00
Alexander Krotov
2b41368aac
core: Change test case name from "order" to "invalid"
2017-03-23 12:15:19 +03:00
Alexander Krotov
7a5930ecbb
core: Test skipping invalid command line arguments
2017-03-23 12:13:31 +03:00
Alexander Krotov
5060a4a671
core: Test order of command line argument parsing
2017-03-22 11:22:07 +03:00
Tommaso Pecorella
bec49d392d
core: ( fixes #2513 ) - Deprecates Mean attribute in ParetoRandomVariable
2016-11-08 01:42:06 +01:00
Tom Henderson
ca94d87ace
core: Example and test cases for StringValue attribute parsing
2016-09-12 12:23:12 -07:00
Tommaso Pecorella
2c5f5dfd3e
core: fix for pedantic compiler warnings introduced in changeset 7224ff0eb8d9
2016-09-12 23:03:16 +02:00
Peter D. Barnes, Jr.
b46530a6b6
core: ( fixes #2149 ) Deprecated Attributes and TraceSources
...
Patch based on earlier patch proposal from Natale Patriciello
2016-09-10 14:08:54 -07:00
Peter D. Barnes, Jr.
cc9ea12573
core: refix problem with temporary variable
...
This amends r12238 (271042c52437)
2016-08-26 09:46:16 -07:00
Peter D. Barnes, Jr.
d8d644a2c4
core: give each CommandLine test a unique name
2016-08-04 13:11:18 -07:00
Peter D. Barnes, Jr.
a50af0a233
[core] Document the meaning of Simulator context.
...
Use a symbol Simulator::NO_CONTEXT instead of hardcoded value.
2016-07-01 16:07:30 -07:00
Tommaso Pecorella
4bcf4abdda
various: ( fixes #2446 ) Fix comma instead of pipe in Attributes
2016-06-23 23:55:32 +02:00
Tom Henderson
de6214fb60
bug 1927: wrap Chi-squared test of random-variable-stream-generators test suite
2015-09-01 21:28:48 -07:00
Tom Henderson
13de20bb3a
bug 1927: allow deterministic seeding of random-variable-stream-generators TestSuite
...
After this commit, the following will cause the test suite to always fail:
NS_GLOBAL_VALUE="RngRun=231" ./test.py -s random-variable-stream-generators
2015-09-01 21:03:55 -07:00
Peter D. Barnes, Jr.
61f2fbd415
[doxygen] Revise TracedCallback function signatures for const.
2015-08-18 16:46:10 -07:00