[Avida-cvs] [avida-svn] r491 - branches/jeffdev/source/cpu
jclune@myxo.css.msu.edu
jclune at myxo.css.msu.edu
Mon Feb 27 22:58:05 PST 2006
Author: jclune
Date: 2006-02-28 01:58:05 -0500 (Tue, 28 Feb 2006)
New Revision: 491
Modified:
branches/jeffdev/source/cpu/cHardwareCPU.cc
Log:
deleted debugging comments
Modified: branches/jeffdev/source/cpu/cHardwareCPU.cc
===================================================================
--- branches/jeffdev/source/cpu/cHardwareCPU.cc 2006-02-28 06:30:15 UTC (rev 490)
+++ branches/jeffdev/source/cpu/cHardwareCPU.cc 2006-02-28 06:58:05 UTC (rev 491)
@@ -3024,7 +3024,6 @@
//this donates to organisms that have this instruction anywhere
//in their genome (see Dawkins 1976, The Selfish Gene, for
//the history of the theory and the name 'green beard'
- // cout << "i am about to donate to a green beard" << endl;
cPhenotype & phenotype = organism->GetPhenotype();
phenotype.IncDonates();
phenotype.SetIsDonorGbg();
@@ -3128,7 +3127,6 @@
neighbor = organism->GetNeighbor();
//if neighbor exists, AND if their parent donated,
if (neighbor != NULL && neighbor->GetPhenotype().IsDonorTrueGbLast()) {
- cout << "got inside" << endl;
const cGenome & neighbor_genome = neighbor->GetGenome();
// for each instruction in the genome...
@@ -3159,7 +3157,6 @@
// Donate only if we have found a close enough relative...
if (neighbor != NULL) {
- cout << "doing donate" << endl;
DoDonate(neighbor);
neighbor->GetPhenotype().SetIsReceiverTrueGb();
}
More information about the Avida-cvs
mailing list