all.h 832 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include <x2c/x2c.h>

#define EIGEN_NO_DEPRECATED_WARNING
#include <cctype>
#include <locale>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <algorithm>
#include <iostream>
#include <iomanip>

#include "outbred.h"
#include "chrono.h"
#include "input.h"
#include "settings.h"

#include "banner.h"
#include "model.h"


template <typename T1, typename T2>
std::ostream& operator << (std::ostream& os, const std::pair<T1, T2>& p) { return os << p.first << ':' << p.second; }

template <typename T1, typename T2>
std::ostream& operator << (std::ostream& os, const std::map<T1, T2>& m)
{
    auto i = m.begin(), j = m.end();
    os << '{';
    if (i != j) {
        os << (*i);
        for (++i; i != j; ++i) {
            os << ' ' << (*i);
        }
    }
    return os << '}';
}

#include "computations.h"