[Avida-SVN] r1838 - branches/dkdev/source/main
dknoester at myxo.css.msu.edu
dknoester at myxo.css.msu.edu
Mon Jul 23 09:58:41 PDT 2007
Author: dknoester
Date: 2007-07-23 12:58:40 -0400 (Mon, 23 Jul 2007)
New Revision: 1838
Modified:
branches/dkdev/source/main/cPopulation.cc
Log:
0.25 clustering coeff.
Modified: branches/dkdev/source/main/cPopulation.cc
===================================================================
--- branches/dkdev/source/main/cPopulation.cc 2007-07-23 13:49:59 UTC (rev 1837)
+++ branches/dkdev/source/main/cPopulation.cc 2007-07-23 16:58:40 UTC (rev 1838)
@@ -1031,7 +1031,8 @@
// Max clustering coefficient is... 1, occuring when all possible edges are present.
// Let's try 0.5 first, scaled to 0-100.
clustering_coeff *= 100.0;
- double target_clustering_coeff=50.0;
+ //double target_clustering_coeff=50.0;
+ double target_clustering_coeff=25.0;
source_germline_merit = pow(target_clustering_coeff - abs(target_clustering_coeff-clustering_coeff) + 1, 2);
break;
More information about the Avida-cvs
mailing list