[Avida-SVN] r1969 - branches/uml/source/main

hjg at myxo.css.msu.edu hjg at myxo.css.msu.edu
Tue Aug 21 04:47:33 PDT 2007


Author: hjg
Date: 2007-08-21 07:47:33 -0400 (Tue, 21 Aug 2007)
New Revision: 1969

Modified:
   branches/uml/source/main/cUMLStateDiagram.cc
Log:
Removed the ability to include null trans in scenario paths. It was causing loops.



Modified: branches/uml/source/main/cUMLStateDiagram.cc
===================================================================
--- branches/uml/source/main/cUMLStateDiagram.cc	2007-08-21 01:27:02 UTC (rev 1968)
+++ branches/uml/source/main/cUMLStateDiagram.cc	2007-08-21 11:47:33 UTC (rev 1969)
@@ -170,12 +170,14 @@
 				if (temp > longest_dist) {
 					longest_dist = temp;
 				}	
-			} else if (ts == "[]/") {
+			} 
+			
+			/*else if (ts == "[]/") {
 				temp = checkForPathStep(path, target(ed, sd0), curr_dist);
 				if (temp > longest_dist) { 
 					longest_dist = temp;
 				}
-			}	
+			}*/	
 	}
 	
 	//std::cout << "Returning longest_dist " << longest_dist << std::endl;




More information about the Avida-cvs mailing list