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
15
namespace
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
}
36
#include <
MonteCarloImplementation.h
>
37
#endif
//OILAB_DOS_H
EvolutionAlgorithm.h
MonteCarloImplementation.h
gbLAB::EvolutionAlgorithm
Definition
EvolutionAlgorithm.h:12
gbLAB::MonteCarlo
Definition
MonteCarlo.h:17
gbLAB::MonteCarlo::currentState
StateType currentState
Definition
MonteCarlo.h:20
gbLAB::MonteCarlo::evolve
void evolve(const int &maxIterations)
Definition
MonteCarloImplementation.h:31
gbLAB::MonteCarlo::ensemble
const EnsembleType & ensemble
Definition
MonteCarlo.h:22
gbLAB
Definition
BiCrystal.cpp:13
randomInteger.h
include
MonteCarlo
MonteCarlo.h
Generated on Wed Aug 6 2025 23:06:44 for oILAB by
1.9.8