eoSigBinaryFlight< POT > Class Template Reference

Binary flight based on the sigmoid function. More...

#include <eoSigBinaryFlight.h>

Inheritance diagram for eoSigBinaryFlight< POT >:

eoBinaryFlight< POT > eoFlight< POT > eoUF< POT &, void > eoFunctorBase List of all members.

Public Member Functions

 eoSigBinaryFlight ()
 Constructor.
double sigmoid (double _value)
 Sigmoid function.
void operator() (POT &_po)
 Apply the sigmoid binary flight to a particle.

Detailed Description

template<class POT>
class eoSigBinaryFlight< POT >

Binary flight based on the sigmoid function.

Velocities are expected to be "double" Consider Pi to be the i-th position of a particle and Vi to be the i-th velocity of the same particle : if rand[0;1] < sig(Vi) (Vi <=> double) Pi=1 else Pi=0

Definition at line 28 of file eoSigBinaryFlight.h.


The documentation for this class was generated from the following file:
Generated on Fri Jun 22 10:17:02 2007 for EO-PSO by  doxygen 1.4.7