eoTopology< POT > Class Template Reference

Define the interface for a swarm optimization topology. More...

#include <eoTopology.h>

Inheritance diagram for eoTopology< POT >:

eoPop< POT > eoObject eoPersistent eoPrintable eoLinearTopology< POT > eoStarTopology< POT > List of all members.

Public Member Functions

virtual void setup (const eoPop< POT > &)=0
 Build the neighborhoods contained in the topology.
virtual void updateNeighborhood (POT &, unsigned)=0
 Update the neighborhood of the given particle and its indice in the population.
virtual void updateNeighborhood (eoPop< POT > &_pop)
 Update the neighborhood of the given particle thanks to a whole population (used for distributed or synchronous PSO).
virtual POT & best (unsigned)=0
 Build the neighborhoods contained in the topology.
virtual void printOn ()
 Build the neighborhoods contained in the topology.

Detailed Description

template<class POT>
class eoTopology< POT >

Define the interface for a swarm optimization topology.

Definition at line 24 of file eoTopology.h.


Member Function Documentation

template<class POT>
virtual void eoTopology< POT >::printOn (  )  [inline, virtual]

Build the neighborhoods contained in the topology.

Parameters:
_pop - The population ton share between the neighborhood(s)

Reimplemented in eoLinearTopology< POT >, and eoStarTopology< POT >.

Definition at line 59 of file eoTopology.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