de.kumpe.hadooptimizer.impl
Class EsPopulationReaderWrapper

java.lang.Object
  extended by de.kumpe.hadooptimizer.impl.NeedsRandomWrapperBase<PopulationReader<double[]>>
      extended by de.kumpe.hadooptimizer.impl.EsPopulationReaderWrapper
All Implemented Interfaces:
NeedsRandomGenerator, PopulationReader<EsIndividual>, Wrapper<PopulationReader<double[]>>, Serializable

public final class EsPopulationReaderWrapper
extends NeedsRandomWrapperBase<PopulationReader<double[]>>
implements PopulationReader<EsIndividual>

A Wrapper that transforms an PopulationReader<double[]> into an PopulationReader<EsIndividual>.

Author:
Christian Kumpe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.kumpe.hadooptimizer.impl.NeedsRandomWrapperBase
delegate
 
Constructor Summary
EsPopulationReaderWrapper(PopulationReader<double[]> delegate)
           
 
Method Summary
 Collection<EsIndividual> read()
           
 
Methods inherited from class de.kumpe.hadooptimizer.impl.NeedsRandomWrapperBase
equals, getDelegate, hashCode, setRandomGenerator, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EsPopulationReaderWrapper

public EsPopulationReaderWrapper(PopulationReader<double[]> delegate)
Method Detail

read

public Collection<EsIndividual> read()
Specified by:
read in interface PopulationReader<EsIndividual>
Returns:
the initial population for the evolution cycle


Copyright © 2011 Christian Kumpe. All Rights Reserved.