de.kumpe.hadooptimizer.impl
Class MemoryPopulationWriter<I>
java.lang.Object
de.kumpe.hadooptimizer.impl.MemoryPopulationWriter<I>
- Type Parameters:
I
- the individuals' type
- All Implemented Interfaces:
- PopulationWriter<I>, Serializable
public class MemoryPopulationWriter<I>
- extends Object
- implements PopulationWriter<I>
A PopulationWriter
which stores the given population in memory.
- Author:
- Christian Kumpe
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryPopulationWriter
public MemoryPopulationWriter()
write
public void write(Collection<I> population)
- Description copied from interface:
PopulationWriter
- Store the given population.
- Specified by:
write
in interface PopulationWriter<I>
- Parameters:
population
- the optimization result population
getPopulation
public Collection<I> getPopulation()
getWinner
public I getWinner()
Copyright © 2011 Christian Kumpe. All Rights Reserved.