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

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_
 

Detailed Description

Exponential Intensity.

Definition at line 145 of file fireflyalgorithm.hpp.

Constructor & Destructor Documentation

◆ ExponentialIntensity()

ExponentialIntensity ( Real  beta0,
Real  betaMin,
Real  gamma 
)

Definition at line 147 of file fireflyalgorithm.hpp.

Member Function Documentation

◆ intensityImpl()

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

Implements FireflyAlgorithm::Intensity.

Definition at line 150 of file fireflyalgorithm.hpp.

Member Data Documentation

◆ beta0_

Real beta0_
protected

Definition at line 153 of file fireflyalgorithm.hpp.

◆ betaMin_

Real betaMin_
protected

Definition at line 153 of file fireflyalgorithm.hpp.

◆ gamma_

Real gamma_
protected

Definition at line 153 of file fireflyalgorithm.hpp.