com.rubecula.darwin.domain.helper
Class GenerationListener_Standard

java.lang.Object
  extended by com.rubecula.darwin.domain.helper.GenerationListener_
      extended by com.rubecula.darwin.domain.helper.GenerationListener_Standard
All Implemented Interfaces:
GenerationListener

public final class GenerationListener_Standard
extends GenerationListener_

Author:
Robin Hillyard

Field Summary
 
Fields inherited from class com.rubecula.darwin.domain.helper.GenerationListener_
_writer
 
Fields inherited from interface com.rubecula.darwin.domain.helper.GenerationListener
$1_SECOND
 
Constructor Summary
GenerationListener_Standard()
           
GenerationListener_Standard(java.io.PrintWriter writer)
           
 
Method Summary
 void onGeneration(Evolvable evolvable)
          This method is called whenever the Evolvable implementer completes a new generation or when the Evolution itself is completely exhausted (has no more evolvables to work with).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerationListener_Standard

public GenerationListener_Standard()

GenerationListener_Standard

public GenerationListener_Standard(java.io.PrintWriter writer)
Parameters:
writer -
Method Detail

onGeneration

public void onGeneration(Evolvable evolvable)
Description copied from interface: GenerationListener
This method is called whenever the Evolvable implementer completes a new generation or when the Evolution itself is completely exhausted (has no more evolvables to work with).

Parameters:
evolvable - the implementer of Evolvable which has completed a generation or null if the Evolution itself has completed. NOTE: implementers of this method must be prepared to accept null as the parameter.
See Also:
GenerationListener.onGeneration(com.rubecula.darwin.foundation.Evolvable)


Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.