de.kumpe.hadooptimizer.simple
Class ThreadedEaOptimizer<I>

java.lang.Object
  extended by de.kumpe.hadooptimizer.Optimizer<I>
      extended by de.kumpe.hadooptimizer.simple.ThreadedEaOptimizer<I>
Type Parameters:
I - the individuals' type

public class ThreadedEaOptimizer<I>
extends Optimizer<I>

A multithreaded Optimizer implementation for general evolutionary algorithms.

Author:
Christian Kumpe
See Also:
Optimizer, ThreadedOptimizerBase

Constructor Summary
ThreadedEaOptimizer(EaOptimizerConfiguration<I> configuration)
           
 
Method Summary
protected  EaOptimizerConfiguration<I> getConfiguration()
          Returns the optimizer's configuration.
 void optimize()
          Starts the optimization.
 
Methods inherited from class de.kumpe.hadooptimizer.Optimizer
getRandomGenerator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadedEaOptimizer

public ThreadedEaOptimizer(EaOptimizerConfiguration<I> configuration)
Method Detail

getConfiguration

protected EaOptimizerConfiguration<I> getConfiguration()
Description copied from class: Optimizer
Returns the optimizer's configuration. This configuration should not be modified once the optimizer has been created.

This method can be overridden to cast the OptimizerConfiguration to the appropriate subtype for the concrete optimizer implementation.

Returns:
the optimizer's configuration

optimize

public final void optimize()
Description copied from class: Optimizer
Starts the optimization.

Subclasses need to implement this method with a concrete optimization technique.

Specified by:
optimize in class Optimizer<I>


Copyright © 2011 Christian Kumpe. All Rights Reserved.