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
15
namespace
oILAB
{
16
template
<
typename
StateType,
typename
SystemType,
typename
EnsembleType,
17
typename
EvolveType>
18
class
MonteCarlo
19
:
public
EvolutionAlgorithm
<StateType, SystemType, EvolveType> {
20
public
:
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
37
#include "
MonteCarloImplementation.h
"
38
#endif
//OILAB_DOS_H
EvolutionAlgorithm.h
MonteCarloImplementation.h
oILAB::EvolutionAlgorithm
Definition
EvolutionAlgorithm.h:13
oILAB::MonteCarlo
Definition
MonteCarlo.h:19
oILAB::MonteCarlo::ensemble
const EnsembleType & ensemble
Definition
MonteCarlo.h:23
oILAB::MonteCarlo::currentState
StateType currentState
Definition
MonteCarlo.h:21
oILAB::MonteCarlo::evolve
void evolve(const int &maxIterations)
Definition
MonteCarloImplementation.h:32
oILAB
Definition
BiCrystal.cpp:13
include
MonteCarlo
MonteCarlo.h
Generated on Sat Mar 28 2026 00:15:04 for oILAB by
1.9.8