de.kumpe.hadooptimizer.impl
Class EsPopulationWriterWrapper

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

public final class EsPopulationWriterWrapper
extends NeedsRandomWrapperBase<PopulationWriter<double[]>>
implements PopulationWriter<EsIndividual>

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

Author:
Christian Kumpe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.kumpe.hadooptimizer.impl.NeedsRandomWrapperBase
delegate
 
Constructor Summary
EsPopulationWriterWrapper(PopulationWriter<double[]> delegate)
           
 
Method Summary
 void write(Collection<EsIndividual> population)
          Store the given population.
 
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

EsPopulationWriterWrapper

public EsPopulationWriterWrapper(PopulationWriter<double[]> delegate)
Method Detail

write

public void write(Collection<EsIndividual> population)
Description copied from interface: PopulationWriter
Store the given population.

Specified by:
write in interface PopulationWriter<EsIndividual>
Parameters:
population - the optimization result population


Copyright © 2011 Christian Kumpe. All Rights Reserved.