physis.core.nursing
Interface Nurse

All Known Implementing Classes:
MaxAgePerMeritNurse, OldestNurse

public interface Nurse

A new digital organism has to be placed somewhere in the lifespace. Classes implementing this interface can perform this task.


Method Summary
 void placeNewBorn(GeneticCodeTape newborn, DigitalOrganismIterator oldorgs, int inherited_length)
          A new organism should be placed somewhere in the parent's neighbourhood.
 

Method Detail

placeNewBorn

public void placeNewBorn(GeneticCodeTape newborn,
                         DigitalOrganismIterator oldorgs,
                         int inherited_length)
A new organism should be placed somewhere in the parent's neighbourhood.
Parameters:
newborn - The newly created organism.
oldorgs - The neighbourhood of the parent organism.
inherited_length - The parent's effective length. The newborns use this in their first update.