QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Inverse Square Intensity. More...
#include <fireflyalgorithm.hpp>
Public Member Functions | |
InverseLawSquareIntensity (Real beta0, Real betaMin) | |
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_ |
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_ |
Inverse Square Intensity.
Definition at line 159 of file fireflyalgorithm.hpp.
InverseLawSquareIntensity | ( | Real | beta0, |
Real | betaMin | ||
) |
Definition at line 161 of file fireflyalgorithm.hpp.
Implements FireflyAlgorithm::Intensity.
Definition at line 164 of file fireflyalgorithm.hpp.
|
protected |
Definition at line 167 of file fireflyalgorithm.hpp.
|
protected |
Definition at line 167 of file fireflyalgorithm.hpp.