QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
InverseLawSquareIntensity Class Reference

Inverse Square Intensity. More...

#include <ql/experimental/math/fireflyalgorithm.hpp>

+ Inheritance diagram for InverseLawSquareIntensity:
+ Collaboration diagram for InverseLawSquareIntensity:

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_
 

Detailed Description

Inverse Square Intensity.

Definition at line 159 of file fireflyalgorithm.hpp.

Constructor & Destructor Documentation

◆ InverseLawSquareIntensity()

InverseLawSquareIntensity ( Real  beta0,
Real  betaMin 
)

Definition at line 161 of file fireflyalgorithm.hpp.

Member Function Documentation

◆ intensityImpl()

Real intensityImpl ( Real  valueX,
Real  valueY,
Real  d 
)
overrideprotectedvirtual

Implements FireflyAlgorithm::Intensity.

Definition at line 164 of file fireflyalgorithm.hpp.

Member Data Documentation

◆ beta0_

Real beta0_
protected

Definition at line 167 of file fireflyalgorithm.hpp.

◆ betaMin_

Real betaMin_
protected

Definition at line 167 of file fireflyalgorithm.hpp.