ian@0
|
1 // Copyright 2011, Ian Hobson.
|
ian@0
|
2 //
|
ian@0
|
3 // This file is part of gpsynth.
|
ian@0
|
4 //
|
ian@0
|
5 // gpsynth is free software: you can redistribute it and/or modify
|
ian@0
|
6 // it under the terms of the GNU General Public License as published by
|
ian@0
|
7 // the Free Software Foundation, either version 3 of the License, or
|
ian@0
|
8 // (at your option) any later version.
|
ian@0
|
9 //
|
ian@0
|
10 // gpsynth is distributed in the hope that it will be useful,
|
ian@0
|
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
|
ian@0
|
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
ian@0
|
13 // GNU General Public License for more details.
|
ian@0
|
14 //
|
ian@0
|
15 // You should have received a copy of the GNU General Public License
|
ian@0
|
16 // along with gpsynth in the file COPYING.
|
ian@0
|
17 // If not, see http://www.gnu.org/licenses/.
|
ian@0
|
18
|
ian@0
|
19 // commonly used external libraries
|
ian@0
|
20 // code should compile correctly without using precompiled header
|
ian@0
|
21
|
ian@0
|
22 #include "boost/algorithm/string/replace.hpp"
|
ian@0
|
23 #include "boost/bind.hpp"
|
ian@0
|
24 #include "boost/date_time/posix_time/posix_time.hpp"
|
ian@0
|
25 #define BOOST_FILESYSTEM_NO_DEPRECATED
|
ian@0
|
26 #include "boost/filesystem.hpp"
|
ian@0
|
27 #include "boost/foreach.hpp"
|
ian@0
|
28 #include "boost/format.hpp"
|
ian@0
|
29 #include "boost/function.hpp"
|
ian@0
|
30 #include "boost/graph/adjacency_list.hpp"
|
ian@0
|
31 #include "boost/graph/graphviz.hpp"
|
ian@0
|
32 #include "boost/graph/random.hpp"
|
ian@0
|
33 #include "boost/graph/topological_sort.hpp"
|
ian@0
|
34 #include "boost/lexical_cast.hpp"
|
ian@0
|
35 #include "boost/math/special_functions/fpclassify.hpp"
|
ian@0
|
36 #include "boost/random/mersenne_twister.hpp"
|
ian@0
|
37 #include "boost/random/normal_distribution.hpp"
|
ian@0
|
38 #include "boost/random/variate_generator.hpp"
|
ian@0
|
39 #include "boost/shared_array.hpp"
|
ian@0
|
40 #include "boost/shared_ptr.hpp"
|
ian@0
|
41 #include "boost/thread.hpp"
|
ian@0
|
42 #include "boost/tuple/tuple.hpp"
|
ian@0
|
43
|
ian@0
|
44 #include "fftw3.h"
|
ian@0
|
45
|
ian@0
|
46 #include "json.h"
|
ian@0
|
47
|
ian@0
|
48 #include <cmath>
|
ian@0
|
49 #include <cstddef>
|
ian@0
|
50 #include <ctime>
|
ian@0
|
51 #include <iostream>
|
ian@0
|
52 #include <iterator>
|
ian@0
|
53 #include <fstream>
|
ian@0
|
54 #include <limits>
|
ian@0
|
55 #include <map>
|
ian@0
|
56 #include <numeric>
|
ian@0
|
57 #include <queue>
|
ian@0
|
58 #include <set>
|
ian@0
|
59 #include <sstream>
|
ian@0
|
60 #include <stdexcept>
|
ian@0
|
61 #include <string>
|
ian@0
|
62 #include <vector>
|