simulated_annealing.h 332 Bytes
Newer Older
1 2
#pragma once

Joaquín P. Centeno's avatar
Joaquín P. Centeno committed
3 4
#include <cstdint>

5
#include "lib/data.h"
Joaquín P. Centeno's avatar
Joaquín P. Centeno committed
6
#include "aux/sa_defs.h"
7 8

class SimulatedAnneling {
Joaquín P. Centeno's avatar
Joaquín P. Centeno committed
9

10
public:
Joaquín P. Centeno's avatar
Joaquín P. Centeno committed
11 12 13 14 15 16 17 18

    PathList operator()(Instance&,
                        uint32_t n_resets = 3,
                        float t           = 10,
                        float beta        = static_cast<float>(0.7));

private:

19
};