oILAB
Loading...
Searching...
No Matches
MonteCarlo.h
Go to the documentation of this file.
1//
2// Created by Nikhil Chandra Admal on 7/29/24.
3//
4
5#ifndef OILAB_DOS_H
6#define OILAB_DOS_H
7
8#include <vector>
9#include <map>
10#include <Eigen/Eigen>
11#include "../Utilities/randomInteger.h"
12#include <cmath>
13#include "EvolutionAlgorithm.h"
14
15namespace oILAB {
16template <typename StateType, typename SystemType, typename EnsembleType,
17 typename EvolveType>
19 : public EvolutionAlgorithm<StateType, SystemType, EvolveType> {
20public:
21 StateType currentState;
22
23 const EnsembleType &ensemble;
24
25 MonteCarlo(const EnsembleType &ensemble, const EvolveType &evolve);
26
27 MonteCarlo(const EnsembleType &ensemble, const EvolveType &evolve,
28 const StateType &state);
29
30 void evolve(const int &maxIterations);
31 };
32
33
34/* ---------------------------------------------------*/
35
36 } // namespace oILAB
38#endif //OILAB_DOS_H
const EnsembleType & ensemble
Definition MonteCarlo.h:23
StateType currentState
Definition MonteCarlo.h:21
void evolve(const int &maxIterations)