21int main(
int argc,
char **argv)
46 catch(
const exception& error) {
47 FATAL(error.what() << endl);
51 gRandom->SetSeed(seed);
63 for (
size_t i = 0; i != N; ++i) {
64 buffer.push_back(start + i);
73 for (
size_t counter = 0; counter != M; ++counter) {
77 for (
size_t i = 0; i != k; ++i) {
79 const size_t l = gRandom->Integer(N - i);
85 swap(buffer[l], buffer[N - i - 1]);
88 Q[0].
put(getMinimumVarianceUnbiasedEstimator(m, k, start));
89 Q[1].
put(getBayesianMedian(m, k, start));
90 Q[2].
put(getBayesianMean(m, k, start));
93 if (
debug >= debug_t) {
95 for (
size_t i = 0; i !=
sizeof(Q)/
sizeof(Q[0]); ++i) {
99 if (Q[i].getCount() > 1) {