A library for working with phylogenetic and population genetic data.
v0.32.0
utils.hpp
Go to the documentation of this file.
1
#ifndef GENESIS_UTILS_H_
2
#define GENESIS_UTILS_H_
3
4
/*
5
Genesis - A toolkit for working with phylogenetic data.
6
Copyright (C) 2014-2024 Lucas Czech
7
8
This program is free software: you can redistribute it and/or modify
9
it under the terms of the GNU General Public License as published by
10
the Free Software Foundation, either version 3 of the License, or
11
(at your option) any later version.
12
13
This program is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU General Public License for more details.
17
18
You should have received a copy of the GNU General Public License
19
along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21
Contact:
22
Lucas Czech <lucas.czech@sund.ku.dk>
23
University of Copenhagen, Globe Institute, Section for GeoGenetics
24
Oster Voldgade 5-7, 1350 Copenhagen K, Denmark
25
*/
26
36
#include "
genesis/utils/color/color.hpp
"
37
#include "
genesis/utils/color/functions.hpp
"
38
#include "
genesis/utils/color/heat_map.hpp
"
39
#include "
genesis/utils/color/helpers.hpp
"
40
#include "
genesis/utils/color/list_diverging.hpp
"
41
#include "
genesis/utils/color/list_misc.hpp
"
42
#include "
genesis/utils/color/list_qualitative.hpp
"
43
#include "
genesis/utils/color/list_sequential.hpp
"
44
#include "
genesis/utils/color/map.hpp
"
45
#include "
genesis/utils/color/names.hpp
"
46
#include "
genesis/utils/color/normalization.hpp
"
47
#include "
genesis/utils/color/norm_boundary.hpp
"
48
#include "
genesis/utils/color/norm_diverging.hpp
"
49
#include "
genesis/utils/color/norm_linear.hpp
"
50
#include "
genesis/utils/color/norm_logarithmic.hpp
"
51
#include "
genesis/utils/containers/dataframe.hpp
"
52
#include "
genesis/utils/containers/dataframe/operators.hpp
"
53
#include "
genesis/utils/containers/dataframe/reader.hpp
"
54
#include "
genesis/utils/containers/deref_iterator.hpp
"
55
#include "
genesis/utils/containers/filter_iterator.hpp
"
56
#include "
genesis/utils/containers/function_cache.hpp
"
57
#include "
genesis/utils/containers/generic_input_stream.hpp
"
58
#include "
genesis/utils/containers/hash_tuple.hpp
"
59
#include "
genesis/utils/containers/interval_tree/functions.hpp
"
60
#include "
genesis/utils/containers/interval_tree/fwd.hpp
"
61
#include "
genesis/utils/containers/interval_tree.hpp
"
62
#include "
genesis/utils/containers/interval_tree/interval.hpp
"
63
#include "
genesis/utils/containers/interval_tree/iterator.hpp
"
64
#include "
genesis/utils/containers/interval_tree/node.hpp
"
65
#include "
genesis/utils/containers/matrix/col.hpp
"
66
#include "
genesis/utils/containers/matrix.hpp
"
67
#include "
genesis/utils/containers/matrix/operators.hpp
"
68
#include "
genesis/utils/containers/matrix/reader.hpp
"
69
#include "
genesis/utils/containers/matrix/row.hpp
"
70
#include "
genesis/utils/containers/matrix/simple_reader.hpp
"
71
#include "
genesis/utils/containers/matrix/writer.hpp
"
72
#include "
genesis/utils/containers/mru_cache.hpp
"
73
#include "
genesis/utils/containers/optional.hpp
"
74
#include "
genesis/utils/containers/range.hpp
"
75
#include "
genesis/utils/containers/transform_iterator.hpp
"
76
#include "
genesis/utils/core/algorithm.hpp
"
77
#include "
genesis/utils/core/exception.hpp
"
78
#include "
genesis/utils/core/fs.hpp
"
79
#include "
genesis/utils/core/info.hpp
"
80
#include "
genesis/utils/core/logging.hpp
"
81
#include "
genesis/utils/core/options.hpp
"
82
#include "
genesis/utils/core/std.hpp
"
83
#include "
genesis/utils/core/version.hpp
"
84
#include "
genesis/utils/formats/bmp/writer.hpp
"
85
#include "
genesis/utils/formats/csv/input_iterator.hpp
"
86
#include "
genesis/utils/formats/csv/reader.hpp
"
87
#include "
genesis/utils/formats/json/document.hpp
"
88
#include "
genesis/utils/formats/json/iterator.hpp
"
89
#include "
genesis/utils/formats/json/reader.hpp
"
90
#include "
genesis/utils/formats/json/writer.hpp
"
91
#include "
genesis/utils/formats/nexus/block.hpp
"
92
#include "
genesis/utils/formats/nexus/document.hpp
"
93
#include "
genesis/utils/formats/nexus/taxa.hpp
"
94
#include "
genesis/utils/formats/nexus/trees.hpp
"
95
#include "
genesis/utils/formats/nexus/writer.hpp
"
96
#include "
genesis/utils/formats/svg/attributes.hpp
"
97
#include "
genesis/utils/formats/svg/axis.hpp
"
98
#include "
genesis/utils/formats/svg/color_bar.hpp
"
99
#include "
genesis/utils/formats/svg/definitions.hpp
"
100
#include "
genesis/utils/formats/svg/document.hpp
"
101
#include "
genesis/utils/formats/svg/gradient.hpp
"
102
#include "
genesis/utils/formats/svg/group.hpp
"
103
#include "
genesis/utils/formats/svg/helper.hpp
"
104
#include "
genesis/utils/formats/svg/image.hpp
"
105
#include "
genesis/utils/formats/svg/matrix.hpp
"
106
#include "
genesis/utils/formats/svg/object.hpp
"
107
#include "
genesis/utils/formats/svg/pie_chart.hpp
"
108
#include "
genesis/utils/formats/svg/shapes.hpp
"
109
#include "
genesis/utils/formats/svg/svg.hpp
"
110
#include "
genesis/utils/formats/svg/text.hpp
"
111
#include "
genesis/utils/formats/xml/document.hpp
"
112
#include "
genesis/utils/formats/xml/helper.hpp
"
113
#include "
genesis/utils/formats/xml/writer.hpp
"
114
#include "
genesis/utils/io/base64.hpp
"
115
#include "
genesis/utils/io/base_input_source.hpp
"
116
#include "
genesis/utils/io/base_output_target.hpp
"
117
#include "
genesis/utils/io/deserializer.hpp
"
118
#include "
genesis/utils/io/file_input_source.hpp
"
119
#include "
genesis/utils/io/file_output_target.hpp
"
120
#include "
genesis/utils/io/gzip_block_ostream.hpp
"
121
#include "
genesis/utils/io/gzip.hpp
"
122
#include "
genesis/utils/io/gzip_input_source.hpp
"
123
#include "
genesis/utils/io/gzip_output_target.hpp
"
124
#include "
genesis/utils/io/gzip_stream.hpp
"
125
#include "
genesis/utils/io/input_buffer.hpp
"
126
#include "
genesis/utils/io/input_reader.hpp
"
127
#include "
genesis/utils/io/input_source.hpp
"
128
#include "
genesis/utils/io/input_stream.hpp
"
129
#include "
genesis/utils/io/output_stream.hpp
"
130
#include "
genesis/utils/io/output_target.hpp
"
131
#include "
genesis/utils/io/parser.hpp
"
132
#include "
genesis/utils/io/scanner.hpp
"
133
#include "
genesis/utils/io/serializer.hpp
"
134
#include "
genesis/utils/io/stream_input_source.hpp
"
135
#include "
genesis/utils/io/stream_output_target.hpp
"
136
#include "
genesis/utils/io/strict_fstream.hpp
"
137
#include "
genesis/utils/io/string_input_source.hpp
"
138
#include "
genesis/utils/io/string_output_target.hpp
"
139
#include "
genesis/utils/math/binomial.hpp
"
140
#include "
genesis/utils/math/bitvector/helper.hpp
"
141
#include "
genesis/utils/math/bitvector.hpp
"
142
#include "
genesis/utils/math/bitvector/operators.hpp
"
143
#include "
genesis/utils/math/common.hpp
"
144
#include "
genesis/utils/math/compensated_sum.hpp
"
145
#include "
genesis/utils/math/correlation.hpp
"
146
#include "
genesis/utils/math/distance.hpp
"
147
#include "
genesis/utils/math/distribution.hpp
"
148
#include "
genesis/utils/math/euclidean_kmeans.hpp
"
149
#include "
genesis/utils/math/histogram/accumulator.hpp
"
150
#include "
genesis/utils/math/histogram/distances.hpp
"
151
#include "
genesis/utils/math/histogram.hpp
"
152
#include "
genesis/utils/math/histogram/operations.hpp
"
153
#include "
genesis/utils/math/histogram/operators.hpp
"
154
#include "
genesis/utils/math/histogram/stats.hpp
"
155
#include "
genesis/utils/math/kmeans.hpp
"
156
#include "
genesis/utils/math/matrix.hpp
"
157
#include "
genesis/utils/math/mds.hpp
"
158
#include "
genesis/utils/math/moments.hpp
"
159
#include "
genesis/utils/math/pca.hpp
"
160
#include "
genesis/utils/math/random.hpp
"
161
#include "
genesis/utils/math/range_minimum_query.hpp
"
162
#include "
genesis/utils/math/ranking.hpp
"
163
#include "
genesis/utils/math/regression/dataframe.hpp
"
164
#include "
genesis/utils/math/regression/factor.hpp
"
165
#include "
genesis/utils/math/regression/family.hpp
"
166
#include "
genesis/utils/math/regression/glm.hpp
"
167
#include "
genesis/utils/math/regression/helper.hpp
"
168
#include "
genesis/utils/math/regression/link.hpp
"
169
#include "
genesis/utils/math/regression/slr.hpp
"
170
#include "
genesis/utils/math/statistics.hpp
"
171
#include "
genesis/utils/math/twobit_vector/functions.hpp
"
172
#include "
genesis/utils/math/twobit_vector.hpp
"
173
#include "
genesis/utils/math/twobit_vector/iterator_deletions.hpp
"
174
#include "
genesis/utils/math/twobit_vector/iterator_insertions.hpp
"
175
#include "
genesis/utils/math/twobit_vector/iterator_substitutions.hpp
"
176
#include "
genesis/utils/text/char.hpp
"
177
#include "
genesis/utils/text/convert.hpp
"
178
#include "
genesis/utils/text/string.hpp
"
179
#include "
genesis/utils/text/style.hpp
"
180
#include "
genesis/utils/text/table.hpp
"
181
#include "
genesis/utils/threading/blocking_concurrent_queue.hpp
"
182
#include "
genesis/utils/threading/concurrent_queue.hpp
"
183
#include "
genesis/utils/threading/lightweight_semaphore.hpp
"
184
#include "
genesis/utils/threading/multi_future.hpp
"
185
#include "
genesis/utils/threading/sequential_output_buffer.hpp
"
186
#include "
genesis/utils/threading/thread_functions.hpp
"
187
#include "
genesis/utils/threading/thread_pool.hpp
"
188
#include "
genesis/utils/threading/threadsafe_queue.hpp
"
189
#include "
genesis/utils/tools/char_lookup.hpp
"
190
#include "
genesis/utils/tools/date_time.hpp
"
191
#include "
genesis/utils/tools/geodesy/functions.hpp
"
192
#include "
genesis/utils/tools/geodesy/geo_coordinate.hpp
"
193
#include "
genesis/utils/tools/hash/functions.hpp
"
194
#include "
genesis/utils/tools/hash/md5.hpp
"
195
#include "
genesis/utils/tools/hash/sha1.hpp
"
196
#include "
genesis/utils/tools/hash/sha256.hpp
"
197
#include "
genesis/utils/tools/tickmarks.hpp
"
198
199
#endif // include guard
factor.hpp
range_minimum_query.hpp
table.hpp
thread_functions.hpp
algorithm.hpp
Provides some valuable algorithms that are not part of the C++ 11 STL.
parser.hpp
twobit_vector.hpp
gzip_input_source.hpp
helper.hpp
binomial.hpp
multi_future.hpp
simple_reader.hpp
helper.hpp
ranking.hpp
heat_map.hpp
fs.hpp
Provides functions for accessing the file system.
writer.hpp
helper.hpp
input_reader.hpp
glm.hpp
functions.hpp
slr.hpp
date_time.hpp
Provides functions for date and time access.
functions.hpp
common.hpp
fwd.hpp
concurrent_queue.hpp
output_stream.hpp
geo_coordinate.hpp
shapes.hpp
block.hpp
base_input_source.hpp
random.hpp
map.hpp
link.hpp
lightweight_semaphore.hpp
histogram.hpp
Header of Histogram class.
pca.hpp
gzip.hpp
helpers.hpp
operators.hpp
Header of Histogram operator functions.
distribution.hpp
version.hpp
Some stuff that is totally not imporatant, but nice.
dataframe.hpp
filter_iterator.hpp
axis.hpp
blocking_concurrent_queue.hpp
iterator_insertions.hpp
std.hpp
Provides some valuable additions to STD.
group.hpp
serializer.hpp
Header of Serializer and Deserializer class.
iterator_deletions.hpp
input_source.hpp
reader.hpp
trees.hpp
iterator_substitutions.hpp
helper.hpp
string.hpp
Provides some commonly used string utility functions.
input_stream.hpp
gzip_output_target.hpp
document.hpp
function_cache.hpp
distance.hpp
matrix.hpp
sha1.hpp
operations.hpp
Header of Histogram operations functions.
file_output_target.hpp
logging.hpp
Provides easy and fast logging functionality.
document.hpp
distances.hpp
Header of Histogram distance functions.
operators.hpp
gzip_stream.hpp
range.hpp
node.hpp
char_lookup.hpp
string_output_target.hpp
threadsafe_queue.hpp
col.hpp
reader.hpp
matrix.hpp
writer.hpp
kmeans.hpp
generic_input_stream.hpp
accumulator.hpp
Header of Histogram Accumulator class.
pie_chart.hpp
info.hpp
interval_tree.hpp
gradient.hpp
taxa.hpp
norm_diverging.hpp
stats.hpp
Header of Histogram statistics functions.
functions.hpp
Color operators and functions.
gzip_block_ostream.hpp
list_sequential.hpp
names.hpp
document.hpp
row.hpp
family.hpp
statistics.hpp
mru_cache.hpp
definitions.hpp
md5.hpp
functions.hpp
convert.hpp
transform_iterator.hpp
image.hpp
list_misc.hpp
char.hpp
color.hpp
Header of Color class.
reader.hpp
norm_linear.hpp
color_bar.hpp
options.hpp
strict_fstream.hpp
writer.hpp
interval.hpp
base64.hpp
list_diverging.hpp
text.hpp
exception.hpp
iterator.hpp
tickmarks.hpp
svg.hpp
writer.hpp
attributes.hpp
reader.hpp
norm_boundary.hpp
file_input_source.hpp
operators.hpp
Matrix operators.
matrix.hpp
moments.hpp
scanner.hpp
output_target.hpp
deserializer.hpp
Header of Serializer and Deserializer class.
functions.hpp
iterator.hpp
string_input_source.hpp
sequential_output_buffer.hpp
stream_output_target.hpp
bitvector.hpp
list_qualitative.hpp
input_iterator.hpp
document.hpp
A collection of classes for working with XML documents. See XmlDocument for more.
normalization.hpp
hash_tuple.hpp
euclidean_kmeans.hpp
thread_pool.hpp
correlation.hpp
input_buffer.hpp
compensated_sum.hpp
object.hpp
stream_input_source.hpp
dataframe.hpp
base_output_target.hpp
style.hpp
deref_iterator.hpp
mds.hpp
writer.hpp
operators.hpp
norm_logarithmic.hpp
sha256.hpp
optional.hpp
lib
genesis
utils.hpp
Generated on Mon Aug 5 2024 16:57:53 for genesis by
1.8.17