SGSolve
sgcommon.hpp
1 // This file is part of the SGSolve library for stochastic games
2 // Copyright (C) 2019 Benjamin A. Brooks
3 //
4 // SGSolve free software: you can redistribute it and/or modify it
5 // under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // SGSolve is distributed in the hope that it will be useful, but
10 // WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License
15 // along with this program. If not, see
16 // <http://www.gnu.org/licenses/>.
17 //
18 // Benjamin A. Brooks
19 // ben@benjaminbrooks.net
20 // Chicago, IL
21 
22 #ifndef _SGCOMMON_HPP
23 #define _SGCOMMON_HPP
24 
25 #include <iostream>
26 #include <iomanip>
27 #include <sstream>
28 #include <fstream>
29 #include <vector>
30 #include <list>
31 #include <limits>
32 #include <algorithm>
33 #include <functional>
34 #include <math.h>
35 #include <exception>
36 #include <assert.h>
37 #include <cmath>
38 #include <stdio.h>
39 #include <time.h>
40 #include <set>
41 #include <unordered_set>
42 #include <queue>
43 #include <random>
44 #include <chrono>
45 
46 #include <boost/serialization/list.hpp>
47 #include <boost/serialization/vector.hpp>
48 
49 #define PI 3.14159265358979323846264338327950288
50 
51 using namespace std;
52 // using namespace boost;
53 
54 #endif