net.sourceforge.jswarm_pso.example_2
Class Example

java.lang.Object
  extended by net.sourceforge.jswarm_pso.example_2.Example

public class Example
extends java.lang.Object

An extremely simple swarm optimization example Minimize Rastrigin's function f( x1 , x2 ) = 20.0 + (x1 * x1) + (x2 * x2) - 10.0 * (Math.cos(2 * Math.PI * x1) + Math.cos(2 * Math.PI * x2)); Solution is (obviously): [ 0, 0 ]

Author:
Pablo Cingolani

Constructor Summary
Example()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Example

public Example()
Method Detail

main

public static void main(java.lang.String[] args)