com.rubecula.darwin.domain.world
Class MortalityStats

java.lang.Object
  extended by com.rubecula.darwin.domain.world.MortalityStats

public class MortalityStats
extends java.lang.Object

Author:
Robin Hillyard

Constructor Summary
MortalityStats(Colony colony)
           
 
Method Summary
 void logStats(org.apache.commons.logging.Log log, int generation)
           
 void update(boolean mortal, double fitness, int age)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MortalityStats

public MortalityStats(Colony colony)
Parameters:
colony -
Method Detail

logStats

public void logStats(org.apache.commons.logging.Log log,
                     int generation)
Parameters:
log - the logger to use
generation -

update

public void update(boolean mortal,
                   double fitness,
                   int age)
Parameters:
mortal -
fitness -
age -


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