RockyML
0.0.1
A High-Performance Scientific Computing Framework
strategy.h
1
/*
2
Copyright (C) 2022 Amirabbas Asadi , All Rights Reserved
3
distributed under Apache-2.0 license
4
*/
5
#ifndef ROCKY_ZAGROS_STRATEGY
6
#define ROCKY_ZAGROS_STRATEGY
7
#include<cmath>
8
#include<utility>
9
#include<memory>
10
#include<limits>
11
#include<random>
12
#include<chrono>
13
14
#include "spdlog/spdlog.h"
15
16
#include<tbb/tbb.h>
17
#include<Eigen/Core>
18
19
#include<rocky/zagros/system.h>
20
#include<rocky/zagros/containers/scontainer.h>
21
#include <rocky/utils.h>
22
23
24
namespace
rocky{
25
namespace
zagros{
30
template
<
typename
T_e,
int
T_dim>
31
class
basic_strategy
{
32
public
:
33
virtual
void
apply() = 0;
34
virtual
void
reset() {}
35
};
36
41
template
<
typename
T_e,
int
T_dim>
42
class
search_strategy
:
public
basic_strategy
<T_e, T_dim>{
43
public
:
44
virtual
void
apply() = 0;
45
};
46
47
};
48
};
49
#endif
rocky::zagros::search_strategy
Interface for evolution strategies.
Definition:
strategy.h:42
rocky::zagros::basic_strategy
Interface for all strategies.
Definition:
strategy.h:31
include
rocky
zagros
strategies
strategy.h
Generated by
1.8.17