[Avida-SVN] r2412 - branches/uml/source/main
hjg at myxo.css.msu.edu
hjg at myxo.css.msu.edu
Mon Mar 3 05:08:24 PST 2008
Author: hjg
Date: 2008-03-03 08:08:24 -0500 (Mon, 03 Mar 2008)
New Revision: 2412
Modified:
branches/uml/source/main/cMDEPropertyGenerator.cc
Log:
adjusted rewards for interesting properties.
Modified: branches/uml/source/main/cMDEPropertyGenerator.cc
===================================================================
--- branches/uml/source/main/cMDEPropertyGenerator.cc 2008-03-02 18:28:31 UTC (rev 2411)
+++ branches/uml/source/main/cMDEPropertyGenerator.cc 2008-03-03 13:08:24 UTC (rev 2412)
@@ -55,7 +55,7 @@
{
// a pointer to the existence property
float val = 0;
- float interesting = (i + 0)/5; // 0 points for an existence property.
+ float interesting = (i/5) + 1; // 1 point for an existence property.
cMDEExistenceProperty e(s);
@@ -86,7 +86,7 @@
{
// a pointer to the absence property
float val = 0;
- float interesting = (i + 2)/5; // 2 points for an absence property.
+ float interesting = (i/5) + 3; // 3 points for an absence property.
cMDEAbsenceProperty e(s);
@@ -117,7 +117,7 @@
{
// a pointer to the universal property
float val = 0;
- float interesting = (i + 2)/5; // 2 points for a universal property.
+ float interesting = (i/5) + 3; // 3 points for a universal property.
cMDEUniversalProperty e(s);
@@ -149,7 +149,7 @@
{
// a pointer to the universal property
float val = 0;
- float interesting = (i + 1)/5; // 1 points for a response property.
+ float interesting = (i/5) + 2; // 2 points for a response property.
cMDEResponseProperty e(s1, s2);
@@ -178,7 +178,7 @@
{
// a pointer to the universal property
float val = 0;
- float interesting = (i + 1)/5; // 1 points for a precedence property.
+ float interesting = (i/5) + 2; // 2 points for a precedence property.
cMDEPrecedenceProperty e(s1, s2);
More information about the Avida-cvs
mailing list