|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
Exponential Intensity. More...
#include <fireflyalgorithm.hpp>
Inheritance diagram for ExponentialIntensity:
Collaboration diagram for ExponentialIntensity:Public Member Functions | |
| ExponentialIntensity (Real beta0, Real betaMin, Real gamma) | |
Public Member Functions inherited from FireflyAlgorithm::Intensity | |
| virtual | ~Intensity ()=default |
| void | findBrightest () |
| find brightest firefly for each firefly More... | |
Protected Member Functions | |
| Real | intensityImpl (Real valueX, Real valueY, Real d) override |
Protected Member Functions inherited from FireflyAlgorithm::Intensity | |
| virtual Real | intensityImpl (Real valueX, Real valueY, Real distance)=0 |
| Real | distance (const Array &x, const Array &y) const |
Protected Attributes | |
| Real | beta0_ |
| Real | betaMin_ |
| Real | gamma_ |
Protected Attributes inherited from FireflyAlgorithm::Intensity | |
| Size | Mfa_ |
| Size | N_ |
| const std::vector< Array > * | x_ |
| const std::vector< std::pair< Real, Size > > * | values_ |
| std::vector< Array > * | xI_ |
Exponential Intensity.
Definition at line 145 of file fireflyalgorithm.hpp.
| ExponentialIntensity | ( | Real | beta0, |
| Real | betaMin, | ||
| Real | gamma | ||
| ) |
Definition at line 147 of file fireflyalgorithm.hpp.
Implements FireflyAlgorithm::Intensity.
Definition at line 150 of file fireflyalgorithm.hpp.
|
protected |
Definition at line 153 of file fireflyalgorithm.hpp.
|
protected |
Definition at line 153 of file fireflyalgorithm.hpp.
|
protected |
Definition at line 153 of file fireflyalgorithm.hpp.