-
Notifications
You must be signed in to change notification settings - Fork 6
/
sarun.hpp
47 lines (39 loc) · 1.35 KB
/
sarun.hpp
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
42
43
44
45
46
47
/*
* Copyright (c) 2012, Robert Rueger <[email protected]>
*
* This file is part of SSMC.
*
* SSMC is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SSMC is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SSMC. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _SARUN_H_INCLUDED
#define _SARUN_H_INCLUDED
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
using namespace std;
#include <png++/png.hpp>
#include "systemmodel.hpp"
#include "model_ising1dmet.hpp"
#include "model_ising2dsqrmet.hpp"
#include "model_ising2dsqrffwolff.hpp"
#include "model_ising2dsqrdipolemet.hpp"
#include "model_dip_sqr.hpp"
#include "model_dip_hc.hpp"
#include "sa_datastruct.hpp"
#include "sa_coolingschedules.hpp"
#include "utils.hpp"
// ----- SARUN: PERFORMS A SINGLE SIMULATED ANNEALING -----
sa_results sarun( const sa_parameters par, const string dir_init );
#endif // _SARUN_H_INCLUDED