ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
itk::InitializationBiasedParticleSwarmOptimizer Class Reference

#include <itkInitializationBiasedParticleSwarmOptimizer.h>

Inheritance diagram for itk::InitializationBiasedParticleSwarmOptimizer:
Collaboration diagram for itk::InitializationBiasedParticleSwarmOptimizer:

List of all members.

Public Types

typedef double CoefficientType
typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef
InitializationBiasedParticleSwarmOptimizer 
Self
typedef ParticleSwarmOptimizerBase Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
virtual void SetInertiaCoefficient (CoefficientType _arg)
virtual CoefficientType GetInertiaCoefficient ()
virtual void SetPersonalCoefficient (CoefficientType _arg)
virtual CoefficientType GetPersonalCoefficient ()
virtual void SetGlobalCoefficient (CoefficientType _arg)
virtual CoefficientType GetGlobalCoefficient ()
virtual void SetInitializationCoefficient (CoefficientType _arg)
virtual CoefficientType GetInitializationCoefficient ()

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 InitializationBiasedParticleSwarmOptimizer ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual void UpdateSwarm ()
virtual ~InitializationBiasedParticleSwarmOptimizer ()

Private Member Functions

 InitializationBiasedParticleSwarmOptimizer (const Self &)
void operator= (const Self &)

Private Attributes

ParametersType::ValueType m_GlobalCoefficient
ParametersType::ValueType m_InertiaCoefficient
ParametersType::ValueType m_InitializationCoefficient
ParametersType::ValueType m_PersonalCoefficient

Detailed Description

Definition at line 71 of file itkInitializationBiasedParticleSwarmOptimizer.h.


Member Typedef Documentation

Standard "Self" typedef.

Reimplemented from itk::ParticleSwarmOptimizerBase.

Definition at line 76 of file itkInitializationBiasedParticleSwarmOptimizer.h.


Constructor & Destructor Documentation

itk::InitializationBiasedParticleSwarmOptimizer::InitializationBiasedParticleSwarmOptimizer ( ) [protected]
virtual itk::InitializationBiasedParticleSwarmOptimizer::~InitializationBiasedParticleSwarmOptimizer ( ) [inline, protected, virtual]
itk::InitializationBiasedParticleSwarmOptimizer::InitializationBiasedParticleSwarmOptimizer ( const Self ) [private]

Member Function Documentation

virtual::itk::LightObject::Pointer itk::InitializationBiasedParticleSwarmOptimizer::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::SingleValuedNonLinearOptimizer.

virtual CoefficientType itk::InitializationBiasedParticleSwarmOptimizer::GetGlobalCoefficient ( ) [virtual]

The Particle swarm optimizer uses the following update formula:

\[c_3 = c_{3initial}(1.0 - IterationIndex/MaximalNumberOfIterations)\]

\[v_i(t+1) = w*v_i(t) + c_1*uniform(0,1)*(p_i-x_i(t)) + c_2*uniform(0,1)*(p_g-x_i(t)) + c_3*uniform(0,1)*(x_{init}-x_i(t))\]

\[x_i(t+1) = clampToBounds(x_i(t) + v_i(t+1))\]

where $w$ - inertia constant $c_1$ - personal coefficient $c_2$ - global coefficient $c_3$ - initial location coefficient $p_i$ - parameters yielding the best function value obtained by this particle $p_g$ - parameters yielding the best function value obtained by all particles $x_{init}$ - initial parameter values provided by user

virtual CoefficientType itk::InitializationBiasedParticleSwarmOptimizer::GetInertiaCoefficient ( ) [virtual]

The Particle swarm optimizer uses the following update formula:

\[c_3 = c_{3initial}(1.0 - IterationIndex/MaximalNumberOfIterations)\]

\[v_i(t+1) = w*v_i(t) + c_1*uniform(0,1)*(p_i-x_i(t)) + c_2*uniform(0,1)*(p_g-x_i(t)) + c_3*uniform(0,1)*(x_{init}-x_i(t))\]

\[x_i(t+1) = clampToBounds(x_i(t) + v_i(t+1))\]

where $w$ - inertia constant $c_1$ - personal coefficient $c_2$ - global coefficient $c_3$ - initial location coefficient $p_i$ - parameters yielding the best function value obtained by this particle $p_g$ - parameters yielding the best function value obtained by all particles $x_{init}$ - initial parameter values provided by user

virtual CoefficientType itk::InitializationBiasedParticleSwarmOptimizer::GetInitializationCoefficient ( ) [virtual]

The Particle swarm optimizer uses the following update formula:

\[c_3 = c_{3initial}(1.0 - IterationIndex/MaximalNumberOfIterations)\]

\[v_i(t+1) = w*v_i(t) + c_1*uniform(0,1)*(p_i-x_i(t)) + c_2*uniform(0,1)*(p_g-x_i(t)) + c_3*uniform(0,1)*(x_{init}-x_i(t))\]

\[x_i(t+1) = clampToBounds(x_i(t) + v_i(t+1))\]

where $w$ - inertia constant $c_1$ - personal coefficient $c_2$ - global coefficient $c_3$ - initial location coefficient $p_i$ - parameters yielding the best function value obtained by this particle $p_g$ - parameters yielding the best function value obtained by all particles $x_{init}$ - initial parameter values provided by user

virtual const char* itk::InitializationBiasedParticleSwarmOptimizer::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ParticleSwarmOptimizerBase.

virtual CoefficientType itk::InitializationBiasedParticleSwarmOptimizer::GetPersonalCoefficient ( ) [virtual]

The Particle swarm optimizer uses the following update formula:

\[c_3 = c_{3initial}(1.0 - IterationIndex/MaximalNumberOfIterations)\]

\[v_i(t+1) = w*v_i(t) + c_1*uniform(0,1)*(p_i-x_i(t)) + c_2*uniform(0,1)*(p_g-x_i(t)) + c_3*uniform(0,1)*(x_{init}-x_i(t))\]

\[x_i(t+1) = clampToBounds(x_i(t) + v_i(t+1))\]

where $w$ - inertia constant $c_1$ - personal coefficient $c_2$ - global coefficient $c_3$ - initial location coefficient $p_i$ - parameters yielding the best function value obtained by this particle $p_g$ - parameters yielding the best function value obtained by all particles $x_{init}$ - initial parameter values provided by user

static Pointer itk::InitializationBiasedParticleSwarmOptimizer::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::SingleValuedNonLinearOptimizer.

void itk::InitializationBiasedParticleSwarmOptimizer::operator= ( const Self ) [private]

Types inherited from the superclass

Reimplemented from itk::ParticleSwarmOptimizerBase.

void itk::InitializationBiasedParticleSwarmOptimizer::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ParticleSwarmOptimizerBase.

virtual void itk::InitializationBiasedParticleSwarmOptimizer::SetGlobalCoefficient ( CoefficientType  _arg) [virtual]

The Particle swarm optimizer uses the following update formula:

\[c_3 = c_{3initial}(1.0 - IterationIndex/MaximalNumberOfIterations)\]

\[v_i(t+1) = w*v_i(t) + c_1*uniform(0,1)*(p_i-x_i(t)) + c_2*uniform(0,1)*(p_g-x_i(t)) + c_3*uniform(0,1)*(x_{init}-x_i(t))\]

\[x_i(t+1) = clampToBounds(x_i(t) + v_i(t+1))\]

where $w$ - inertia constant $c_1$ - personal coefficient $c_2$ - global coefficient $c_3$ - initial location coefficient $p_i$ - parameters yielding the best function value obtained by this particle $p_g$ - parameters yielding the best function value obtained by all particles $x_{init}$ - initial parameter values provided by user

virtual void itk::InitializationBiasedParticleSwarmOptimizer::SetInertiaCoefficient ( CoefficientType  _arg) [virtual]

The Particle swarm optimizer uses the following update formula:

\[c_3 = c_{3initial}(1.0 - IterationIndex/MaximalNumberOfIterations)\]

\[v_i(t+1) = w*v_i(t) + c_1*uniform(0,1)*(p_i-x_i(t)) + c_2*uniform(0,1)*(p_g-x_i(t)) + c_3*uniform(0,1)*(x_{init}-x_i(t))\]

\[x_i(t+1) = clampToBounds(x_i(t) + v_i(t+1))\]

where $w$ - inertia constant $c_1$ - personal coefficient $c_2$ - global coefficient $c_3$ - initial location coefficient $p_i$ - parameters yielding the best function value obtained by this particle $p_g$ - parameters yielding the best function value obtained by all particles $x_{init}$ - initial parameter values provided by user

virtual void itk::InitializationBiasedParticleSwarmOptimizer::SetInitializationCoefficient ( CoefficientType  _arg) [virtual]

The Particle swarm optimizer uses the following update formula:

\[c_3 = c_{3initial}(1.0 - IterationIndex/MaximalNumberOfIterations)\]

\[v_i(t+1) = w*v_i(t) + c_1*uniform(0,1)*(p_i-x_i(t)) + c_2*uniform(0,1)*(p_g-x_i(t)) + c_3*uniform(0,1)*(x_{init}-x_i(t))\]

\[x_i(t+1) = clampToBounds(x_i(t) + v_i(t+1))\]

where $w$ - inertia constant $c_1$ - personal coefficient $c_2$ - global coefficient $c_3$ - initial location coefficient $p_i$ - parameters yielding the best function value obtained by this particle $p_g$ - parameters yielding the best function value obtained by all particles $x_{init}$ - initial parameter values provided by user

virtual void itk::InitializationBiasedParticleSwarmOptimizer::SetPersonalCoefficient ( CoefficientType  _arg) [virtual]

The Particle swarm optimizer uses the following update formula:

\[c_3 = c_{3initial}(1.0 - IterationIndex/MaximalNumberOfIterations)\]

\[v_i(t+1) = w*v_i(t) + c_1*uniform(0,1)*(p_i-x_i(t)) + c_2*uniform(0,1)*(p_g-x_i(t)) + c_3*uniform(0,1)*(x_{init}-x_i(t))\]

\[x_i(t+1) = clampToBounds(x_i(t) + v_i(t+1))\]

where $w$ - inertia constant $c_1$ - personal coefficient $c_2$ - global coefficient $c_3$ - initial location coefficient $p_i$ - parameters yielding the best function value obtained by this particle $p_g$ - parameters yielding the best function value obtained by all particles $x_{init}$ - initial parameter values provided by user

virtual void itk::InitializationBiasedParticleSwarmOptimizer::UpdateSwarm ( ) [protected, virtual]

Implement your update rule in this function.

Implements itk::ParticleSwarmOptimizerBase.


Member Data Documentation


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