QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
SamplerVeryFastAnnealing Class Reference

Very Fast Annealing Sampler. More...

#include <hybridsimulatedannealingfunctors.hpp>

+ Collaboration diagram for SamplerVeryFastAnnealing:

Public Member Functions

 SamplerVeryFastAnnealing (Array lower, Array upper, unsigned long seed=SeedGenerator::instance().get())
 
void operator() (Array &newPoint, const Array &currentPoint, const Array &temp)
 

Private Attributes

Array lower_
 
Array upper_
 
std::mt19937 generator_
 
std::uniform_real_distribution< Realdistribution_
 

Detailed Description

Very Fast Annealing Sampler.

For consistency should be used with TemperatureVeryFastAnnealing. Requires that the parameter space be bounded above and below.

Definition at line 176 of file hybridsimulatedannealingfunctors.hpp.

Constructor & Destructor Documentation

◆ SamplerVeryFastAnnealing()

SamplerVeryFastAnnealing ( Array  lower,
Array  upper,
unsigned long  seed = SeedGenerator::instance().get() 
)

Definition at line 179 of file hybridsimulatedannealingfunctors.hpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ operator()()

void operator() ( Array newPoint,
const Array currentPoint,
const Array temp 
)

Definition at line 186 of file hybridsimulatedannealingfunctors.hpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ lower_

Array lower_
private

Definition at line 202 of file hybridsimulatedannealingfunctors.hpp.

◆ upper_

Array upper_
private

Definition at line 202 of file hybridsimulatedannealingfunctors.hpp.

◆ generator_

std::mt19937 generator_
private

Definition at line 203 of file hybridsimulatedannealingfunctors.hpp.

◆ distribution_

std::uniform_real_distribution<Real> distribution_
private

Definition at line 204 of file hybridsimulatedannealingfunctors.hpp.