[c9bc2b7] | 1 | /*
|
---|
| 2 | * Project: MoleCuilder
|
---|
| 3 | * Description: creates and alters molecular systems
|
---|
[0aa122] | 4 | * Copyright (C) 2010-2012 University of Bonn. All rights reserved.
|
---|
[c9bc2b7] | 5 | * Please see the LICENSE file or "Copyright notice" in builder.cpp for details.
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | /*
|
---|
| 9 | * RandomNumberDistributionFactory.cpp
|
---|
| 10 | *
|
---|
| 11 | * Created on: Jan 03, 2011
|
---|
[1d5a871] | 12 | Author: heber
|
---|
[c9bc2b7] | 13 | */
|
---|
| 14 |
|
---|
| 15 | // include config.h
|
---|
| 16 | #ifdef HAVE_CONFIG_H
|
---|
| 17 | #include <config.h>
|
---|
| 18 | #endif
|
---|
| 19 |
|
---|
| 20 | #include "CodePatterns/MemDebug.hpp"
|
---|
| 21 |
|
---|
| 22 | #include <utility>
|
---|
| 23 | #include "CodePatterns/Singleton_impl.hpp"
|
---|
| 24 | #include "CodePatterns/Assert.hpp"
|
---|
| 25 |
|
---|
| 26 | #include <boost/random/bernoulli_distribution.hpp>
|
---|
| 27 | #include <boost/random/binomial_distribution.hpp>
|
---|
| 28 | #include <boost/random/cauchy_distribution.hpp>
|
---|
| 29 | #include <boost/random/exponential_distribution.hpp>
|
---|
| 30 | #include <boost/random/gamma_distribution.hpp>
|
---|
| 31 | #include <boost/random/geometric_distribution.hpp>
|
---|
| 32 | #include <boost/random/linear_congruential.hpp>
|
---|
| 33 | #include <boost/random/lognormal_distribution.hpp>
|
---|
| 34 | #include <boost/random/normal_distribution.hpp>
|
---|
| 35 | #include <boost/random/poisson_distribution.hpp>
|
---|
| 36 | #include <boost/random/triangle_distribution.hpp>
|
---|
| 37 | #include <boost/random/uniform_01.hpp>
|
---|
| 38 | #include <boost/random/uniform_int.hpp>
|
---|
| 39 | #include <boost/random/uniform_on_sphere.hpp>
|
---|
| 40 | #include <boost/random/uniform_real.hpp>
|
---|
| 41 | #include <boost/random/uniform_smallint.hpp>
|
---|
| 42 |
|
---|
| 43 | #include "RandomNumberDistribution_Encapsulation.hpp"
|
---|
[0275ad] | 44 | #include "RandomNumberDistribution_Parameters.hpp"
|
---|
[c9bc2b7] | 45 |
|
---|
| 46 | #include "RandomNumberDistributionFactory.hpp"
|
---|
| 47 |
|
---|
[9b3476] | 48 | // has to be included BEFORE PrototypeFactory_impl.hpp!
|
---|
[1d5a871] | 49 | #include "RandomNumberDistributionFactory.def"
|
---|
[0275ad] | 50 | #include "CodePatterns/ManipulablePrototypeFactory_impl.hpp"
|
---|
[c9bc2b7] | 51 |
|
---|
[9b3476] | 52 | RandomNumberDistributionFactory::RandomNumberDistributionFactory()
|
---|
| 53 | {
|
---|
| 54 | FillPrototypeTable();
|
---|
| 55 | }
|
---|
| 56 |
|
---|
| 57 | RandomNumberDistributionFactory::~RandomNumberDistributionFactory()
|
---|
| 58 | {
|
---|
| 59 | EmptyPrototypeTable();
|
---|
| 60 | }
|
---|
[c9bc2b7] | 61 |
|
---|
| 62 | CONSTRUCT_SINGLETON(RandomNumberDistributionFactory)
|
---|
[0275ad] | 63 | CONSTRUCT_MANIPULABLEPROTOTYPEFACTORY(RandomNumberDistribution, RandomNumberDistribution_Parameters)
|
---|
[c9bc2b7] | 64 |
|
---|
| 65 | #include "RandomNumberDistributionFactory.undef"
|
---|
| 66 |
|
---|