Monte Carlo Integration Library 1.0
High-performance Monte Carlo methods for numerical integration and optimization
Public Attributes | List of all members
mc::optim::PSO::Particle Struct Reference

A single particle in the swarm. More...

#include <PSO.hpp>

Collaboration diagram for mc::optim::PSO::Particle:

Public Attributes

Coordinates position
 Current position in the search space.
 
Coordinates velocity
 Current velocity vector.
 
Coordinates best_position
 Best position found by this particle.
 
Real best_value
 Best objective value found by this particle.
 
Real current_value
 Objective value at the current position.
 

Detailed Description

A single particle in the swarm.

Definition at line 45 of file PSO.hpp.

Member Data Documentation

◆ best_position

Coordinates mc::optim::PSO::Particle::best_position

Best position found by this particle.

Definition at line 52 of file PSO.hpp.

◆ best_value

Real mc::optim::PSO::Particle::best_value

Best objective value found by this particle.

Definition at line 54 of file PSO.hpp.

◆ current_value

Real mc::optim::PSO::Particle::current_value

Objective value at the current position.

Definition at line 56 of file PSO.hpp.

◆ position

Coordinates mc::optim::PSO::Particle::position

Current position in the search space.

Definition at line 47 of file PSO.hpp.

◆ velocity

Coordinates mc::optim::PSO::Particle::velocity

Current velocity vector.

Definition at line 49 of file PSO.hpp.


The documentation for this struct was generated from the following file: