Distribution Walk. More...
#include <ql/experimental/math/fireflyalgorithm.hpp>
Public Types | |
typedef IsotropicRandomWalk< Distribution, base_generator_type > | WalkRandom |
Public Member Functions | |
DistributionRandomWalk (Distribution dist, Real delta=0.9, unsigned long seed=SeedGenerator::instance().get()) | |
![]() | |
void | walk () |
perform random walk | |
Protected Member Functions | |
void | walkImpl (Array &xRW) |
void | init (FireflyAlgorithm *fa) |
Protected Attributes | |
WalkRandom | walkRandom_ |
Real | delta_ |
![]() | |
Size | Mfa_ |
Size | N_ |
const std::vector< Array > * | x_ |
const std::vector< std::pair< Real, Size > > * | values_ |
std::vector< Array > * | xRW_ |
Array * | lX_ |
Array * | uX_ |
Distribution Walk.