Commit Graph

136 Commits

Author SHA1 Message Date
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
Peter D. Barnes, Jr.
baddf3f749 Refactor TracedValue callback function signatures.
Move from template class TracedValue to namespace TracedValueCallback.

Rename from [type]Callback to just [type]:
TracedValue<double>::DoubleCallback  -> TracedValueCallback::Double
2015-07-29 13:56:55 -07:00
Peter D. Barnes, Jr.
f7311ec17a Build profile macros 2015-07-28 16:33:35 -07:00
Peter D. Barnes, Jr.
d67ced0392 Fix parents, group names, and missing constructors in GetTypeId definitions. 2015-06-09 12:59:59 -07:00
Tom Henderson
ab88e121ca fix attribute accessor for DropTailQueue Mode attribute (reported by Chip Webb) 2015-06-08 13:46:18 -07:00
Peter D. Barnes, Jr.
9ad27ed6ec Clarify test messages. 2015-03-06 16:44:54 -08:00
Peter D. Barnes, Jr.
c16d0b97ac Correct misspelled class names: TimeIntputOutputTestCase, TimesWithSignsTestCase 2015-02-20 14:23:09 -08:00
Peter D. Barnes, Jr.
69e4cc6139 Attribute test vectors assume ns Time resolution.
Since these are tests of Attributes per se, not Time, forcing the
resolution should not hide other issues with Attributes.
2015-02-20 14:20:35 -08:00
Peter D. Barnes, Jr.
5545a7f224 Remove extraneous ' ' around :: 2015-02-04 13:40:57 -08: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
Peter D. Barnes, Jr.
40eb448c95 [Doxygen] Remove extraneous docs for derivatives of AttributeValue. 2015-01-16 12:12:46 -08:00
Peter D. Barnes, Jr.
a790246c4b [Doxygen] specialized data types 2014-11-17 15:51:36 -08:00
Peter D. Barnes, Jr.
692bf472e6 TracedCallback function signatures, the rest. 2014-12-04 10:02:01 -08:00
Peter D. Barnes, Jr.
cccfc167dd [Doxygen] Attribute implementations. 2014-10-21 16:14:35 -07:00
Tom Henderson
41b83c9851 remove deprecated RandomVariable class 2014-10-13 16:09:59 -07:00
Tom Henderson
d00ccf814c add missing GPLs 2014-10-06 10:24:56 -07:00