Example #1
0
 @Override
 public void makeKid() throws CloneNotSupportedException {
   /*
    * Clone the plasmid.
    */
   Episome baby = this.sendNewAgent();
   /*
    * Register the plasmid (species population).
    */
   baby.registerBirth();
 }
Example #2
0
 @Override
 public void createNewAgent() {
   try {
     // Clone the plasmid
     Episome baby = this.sendNewAgent();
     // Register the plasmid (species population)
     baby.registerBirth();
   } catch (CloneNotSupportedException e) {
     LogFile.writeError(e, "Episome.createNewAgent()");
   }
 }