Commit Graph

27 Commits

Author SHA1 Message Date
Yuval Lifshitz
ff9432f97b Allow accumulator persistency (#18)
* Add, and update, documentation build targets.

* adding serialization to stats

* serialize rolling stats
2019-05-10 15:39:28 -07:00
CromwellEnage
ed71099b2e Update test suite
Install libstdc++ 4.9 for clang-3.8 and clang-3.9 to avoid ::gets error.
2018-12-26 09:49:57 -05:00
CromwellEnage
ce050eb1c5 Fix typo 2018-12-24 19:24:11 -05:00
CromwellEnage
d292970edf Disable tests that are failing at runtime for clang-3.8 and clang-3.9 2018-12-24 16:39:44 -05:00
CromwellEnage
d1c03b0bd3 Increase the iteration count as suggested by Yuval Lipshitz 2018-12-24 08:03:48 -05:00
CromwellEnage
109e65c899 Enable automated testing, fix compiler errors, suppress runtime failures
<boost/accumulators/accumulators_fwd.hpp>
* Replace definition of BOOST_PARAMETER_NESTED_KEYWORD with #include statement.

<boost/accumulators/framework/depends_on.hpp>
* Add const-correct make_acc_list() function overloads.

<boost/accumulators/accumulators_fwd.hpp>
<boost/accumulators/framework/extractor.hpp>
<boost/accumulators/framework/accumulator_set.hpp>
* Add overloads that distinguish between optional 1st named parameter and unnamed sample parameter.
* Use argument composition vice boost::parameter::parameters<>.

<boost/accumulators/framework/extractor.hpp>
* Transform AccumulatorSet parameter type with remove_const and remove_reference as needed.

<boost/accumulators/framework/accumulator_set.hpp>
* Replace use of is_base_and_derived with use of is_base_of, remove_const, and remove_reference.

<boost/accumulators/framework/parameters/accumulator.hpp>
<boost/accumulators/framework/parameters/sample.hpp>
<boost/accumulators/framework/parameters/weight.hpp>
<boost/accumulators/framework/parameters/weights.hpp>
* Replace use of deprecated BOOST_PARAMETER_KEYWORD with use of BOOST_PARAMETER_NAME.

<boost/accumulators/framework/accumulators/value_accumulator.hpp>
<boost/accumulators/framework/accumulators/reference_accumulator.hpp>
<boost/accumulators/framework/accumulators/external_accumulator.hpp>
<boost/accumulators/framework/accumulators/droppable_accumulator.hpp>
* Replace use of deprecated boost::parameter::keyword<>::get() with use of boost::parameter::keyword<>::instance.

"test/weighted_median.cpp"
* Disable statements that are causing runtime failures.

"test/Jamfile.cpp"
* Disable tests that are failing at runtime.
2018-12-23 14:21:32 -05:00
Oliver Ford
5ff527ec3b Fix #11437: correct immediate_rolling_mean
Corrects the immediate_rolling_mean calculation for unsigned
int, so that when a value lower than the previous value is added,
underflow does not occur.

Includes new regression test for this behavior.
2018-02-06 10:30:26 +00:00
Pieter Bastiaan Ober
39a065c38f Addition of 'rolling-variance' and 'rolling_moment'. Required splitting 'rolling_mean' into a lazy and immediate implementation. Documentation is updated accordingly. 2014-06-12 16:25:28 +02:00
Eric Niebler
a88bf04f69 remove executible flag 2014-01-10 23:11:37 -08:00
Eric Niebler
199787dffd fix comment typos, refs #7917
[SVN r83305]
2013-03-05 06:22:17 +00:00
Eric Niebler
4994681978 shorten filenames to meet boost guidelines
[SVN r77422]
2012-03-19 21:55:41 +00:00
Steven Watanabe
96aa662bbb Fix accumulators tests.
[SVN r74976]
2011-10-16 16:50:08 +00:00
Gennadiy Rozental
1384cab145 disambiguate
[SVN r74717]
2011-10-05 08:27:45 +00:00
Gennadiy Rozental
cfa6295a80 disambiguate
[SVN r74716]
2011-10-05 06:55:06 +00:00
Eric Niebler
ec9695251a add kahan sum, fixes #4471
[SVN r72045]
2011-05-19 12:06:12 +00:00
Troy D. Straszheim
753c28c695 rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
[SVN r56942]
2009-10-17 02:07:38 +00:00
Eric Niebler
75de0b7ca8 portability fixed for gcc-4.4
[SVN r55076]
2009-07-22 01:34:11 +00:00
Eric Niebler
ddc66e0507 fix test bug
[SVN r50415]
2008-12-30 19:31:09 +00:00
Eric Niebler
e1e4f6e6ec add rolling_window, rolling_count, rolling_sum and rolling_mean
[SVN r50392]
2008-12-28 01:44:00 +00:00
Eric Niebler
1e18872abc add missing namespace qualifications, fixes #2502
[SVN r49805]
2008-11-16 21:17:28 +00:00
Michael A. Jackson
bbc210b07b Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
[SVN r49627]
2008-11-07 17:02:56 +00:00
Michael A. Jackson
750e5d3e27 Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
[SVN r49510]
2008-11-01 13:15:41 +00:00
Eric Niebler
6e1c1ad9ba make immediate the default implementation for variance and weighted_variance
[SVN r46651]
2008-06-24 15:40:19 +00:00
Eric Niebler
b1474d4214 try disabling iterator debugging for intel-win toolset
[SVN r42789]
2008-01-15 07:46:51 +00:00
Eric Niebler
70d3437b26 disable iterator debugging for all msvc versions
[SVN r42624]
2008-01-08 21:40:52 +00:00
Eric Niebler
68fa3bd224 fix signed/unsigned warnings, clean up trailing whitespace
[SVN r42620]
2008-01-08 18:43:43 +00:00
Eric Niebler
89d24a9028 add accumulators
[SVN r42418]
2008-01-02 20:55:20 +00:00