Package jswarm_pso.example_1

Class Summary
Example An extremely simple swarm optimization example Maximize function f( x1 , x2 ) = 1 - Sqrt( ( x1 - 1/2 )^2 + ( x2 - 1/2 )^2 ) Solution is (obviously): [ 1/2 , 1/2 ]
MyFitnessFunction Sample Fitness function f( x1 , x2 ) = 1 - Sqrt( ( x1 - 1/2 )^2 + ( x2 - 1/2 )^2 )
MyParticle Simple particle example