paradocks::PSO Class Reference
[ParaDockS Optimizer function Interface]

Particle Swarm Optimization class. This class implements particle swarm optimization from:
J. Kennedy and R. Eberhart
Particle swarm optimization
Proc. of the IEEE Int. Conf. on Neural Networks, Piscataway, NJ, pp. 1942-1948, 1995.

an example input section looks like this:. More...

#include <pso.hpp>

Inheritance diagram for paradocks::PSO:

paradocks::Optimizer

List of all members.

Public Member Functions

void run (ostream &output, unsigned int outiter, unsigned int outend)
 Start the optimization run.


Detailed Description

Particle Swarm Optimization class. This class implements particle swarm optimization from:
J. Kennedy and R. Eberhart
Particle swarm optimization
Proc. of the IEEE Int. Conf. on Neural Networks, Piscataway, NJ, pp. 1942-1948, 1995.

an example input section looks like this:.

<optimizer type="pso">  <!-- name of the optimizer-->
<par val="100000"/>     <!-- iterations -->
<par val="30"/>         <!-- particle count -->
<par val="1"/>          <!-- inertia weight start -->
<par val="0.7"/>        <!-- inertia weight end -->
<par val="1.4"/>        <!-- cognitive weight -->
<par val="1.4"/>        <!-- social weight -->
<par val="5"/>          <!-- maximum velocity -->
<par val="0.79"/>       <!-- maximum angle velocity for quaternions -->
<par val="0.79"/>       <!-- maximum angle velocity for angles -->
</optimizer>

Member Function Documentation

void paradocks::PSO::run ( ostream &  output,
unsigned int  outiter,
unsigned int  outend 
) [virtual]

Start the optimization run.

Parameters:
output The results should go into this stream.
outiter Save the structure from every iteration: 0 - no structure, 1 - best structure, 2 - all structures
outend Save the structure at the end: 1 - best structure, 2 - all structures start a optimization

Implements paradocks::Optimizer.


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

Generated on Mon Nov 23 08:31:44 2009 for ParaDockS by  doxygen 1.5.8