PaGMO  1.1.5
Data Structures | Typedefs | Functions | Variables
pagmo::algorithm Namespace Reference

Algorithm namespace. More...

Data Structures

class  base
 Base algorithm class. More...
 
class  base_gsl
 Base class for GSL algorithms. More...
 
class  base_nlopt
 Base class for wrapping NLopt's algorithms. More...
 
class  bee_colony
 The Artificial Bee Colony Solver (ABC) More...
 
class  cmaes
 Covariance Matrix Adaptation Evolutionary Strategy (CMAES) More...
 
class  cs
 The Compass Search Solver (CS) More...
 
class  cstrs_co_evolution
 Co-Evolution constraints handling meta-algorithm. More...
 
class  cstrs_core
 CORE constraints handling meta-algorithm. More...
 
class  cstrs_immune_system
 Immune system constraints handling meta-algorithm. More...
 
class  cstrs_self_adaptive
 Self-Adaptive Fitness constraints handling meta-algorithm. More...
 
class  de
 Differential Evolution Algorithm. More...
 
class  de_1220
 Differential Evolution Algorithm - 1220 (our version!!) More...
 
class  firefly
 The Firefly algorithm. More...
 
class  gsl_bfgs
 Wrapper for the GSL BFGS algorithm. More...
 
class  gsl_bfgs2
 Wrapper for the GSL BFGS2 algorithm. More...
 
class  gsl_derivative_free
 Wrapper for GSL minimisers without derivatives. More...
 
class  gsl_fr
 Wrapper for the GSL Fletcher-Reeves conjugate gradient algorithm. More...
 
class  gsl_gradient
 Wrapper for GSL minimisers with derivatives. More...
 
class  gsl_nm
 Wrapper for the GSL Nelder-Mead simplex algorithm. More...
 
class  gsl_nm2
 Wrapper for the GSL Nelder-Mead simplex algorithm (version 2). More...
 
class  gsl_nm2rand
 Wrapper for the GSL Nelder-Mead simplex algorithm (version 2 + randomly-oriented initial simplex). More...
 
class  gsl_pr
 Wrapper for the GSL Polak-Ribiere conjugate gradient algorithm. More...
 
class  ihs
 Improved harmony search algorithm. More...
 
class  inverover
 Inver-Over Algorithm (IO) More...
 
class  ipopt
 Wrapper for the IPOPT solver. More...
 
class  jde
 jDE - Differential Evolution Algorithm - Self-Adaptive C and R (2011) More...
 
class  mbh
 Monotonic Basin Hopping (generalized) More...
 
class  mde_pbx
 MDE_pBX - Differential Evolution variant. More...
 
class  moead
 MOEA/D - DE. More...
 
class  monte_carlo
 Monte Carlo algorithm. More...
 
class  ms
 Multistart. More...
 
class  nlopt_aug_lag
 Wrapper for NLopt's Augmented Lagrangian algorithm. More...
 
class  nlopt_aug_lag_eq
 Wrapper for NLopt's Augmented Lagrangian algorithm (using penalties only for the equalities) More...
 
class  nlopt_bobyqa
 Wrapper for NLopt's BOBYQA algorithm. More...
 
class  nlopt_cobyla
 Wrapper for NLopt's COBYLA algorithm. More...
 
class  nlopt_mma
 Wrapper for NLopt's Method of Moving Asymptotes algorithm. More...
 
class  nlopt_sbplx
 Wrapper for NLopt's Sbplx algorithm. More...
 
class  nlopt_slsqp
 Wrapper for NLopt's Slsqp algorithm. More...
 
class  nn_tsp
 Nearest Neighbor Algorithm (NN) More...
 
class  nsga2
 Nondominated Sorting genetic algorithm II (NSGA-II) More...
 
class  nspso
 Non-dominated Sorting Particle Swarm Optimizer (NSPSO) More...
 
class  null
 Null algorithm. More...
 
class  pade
 Parallel Decomposition (PaDe) More...
 
class  pso
 Particle Swarm optimization. More...
 
class  pso_generational
 Particle Swarm optimization generational. More...
 
class  pso_generational_racing
 Particle Swarm optimization generational with racing. More...
 
class  sa_corana
 Simulated Annealing, Corana's version with adaptive neighbourhood. More...
 
class  sea
 (N+1)-EA Simple Evolutionary Algorithm More...
 
class  sga
 The Simple Genetic Algorithm (SGA) More...
 
class  sga_gray
 The Simple Genetic Algorithm with gray encoding (sga_gray) More...
 
class  sms_emoa
 S-metric selection evolutionary multiobjective optimisation algorithm (SMS-EMOA) More...
 
class  snopt
 Wrapper for the SNOPT solver. More...
 
class  spea2
 "Strength Pareto Evolutionary Algorithm (SPEA2)" More...
 
class  vega
 VEGA based multi-objective algorithm. More...
 

Typedefs

typedef boost::shared_ptr< basebase_ptr
 Alias for shared pointer to base algorithm.
 

Functions

std::ostream & operator<< (std::ostream &s, const base &alg)
 Overload stream operator for algorithm::base. More...
 
void no_screen_output (int, const char[])
 
void default_output (int mode, const char *message)
 

Variables

const int vonNeumann_neighb_diff [4][2] = { {-1,0}, {1,0}, {0,-1}, {0,1} }
 Von Neumann neighborhood (increments on particles' lattice coordinates that produce the coordinates of their neighbors) More...
 

Detailed Description

Algorithm namespace.

This namespace contains all the algorithms implemented in PaGMO.

Function Documentation

std::ostream & pagmo::algorithm::operator<< ( std::ostream &  s,
const base alg 
)

Overload stream operator for algorithm::base.

Equivalent to printing base::human_readable() to stream.

Parameters
[in]sstream to which the algorithm will be sent.
[in]algalgorithm::base to be sent to stream.
Returns
reference to s.

Definition at line 127 of file algorithm/base.cpp.

Variable Documentation

const int pagmo::algorithm::vonNeumann_neighb_diff = { {-1,0}, {1,0}, {0,-1}, {0,1} }

Von Neumann neighborhood (increments on particles' lattice coordinates that produce the coordinates of their neighbors)

The von Neumann neighbourhood of a point includes all the points at a Hamming distance of 1.

Definition at line 474 of file pso.cpp.