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 <randomInteger.h>
12#include <cmath>
13#include <EvolutionAlgorithm.h>
14
15namespace gbLAB {
16 template<typename StateType, typename SystemType, typename EnsembleType, typename EvolveType>
17 class MonteCarlo : public EvolutionAlgorithm<StateType, SystemType, EvolveType> {
18 public:
19
20 StateType currentState;
21
22 const EnsembleType& ensemble;
23
24 MonteCarlo(const EnsembleType& ensemble, const EvolveType &evolve);
25
26 MonteCarlo(const EnsembleType& ensemble, const EvolveType &evolve, const StateType& state);
27
28 void evolve(const int &maxIterations);
29 };
30
31
32/* ---------------------------------------------------*/
33
34
35}
37#endif //OILAB_DOS_H
StateType currentState
Definition MonteCarlo.h:20
void evolve(const int &maxIterations)
const EnsembleType & ensemble
Definition MonteCarlo.h:22