[Avida-SVN] r1968 - branches/uml/source/main
hjg at myxo.css.msu.edu
hjg at myxo.css.msu.edu
Mon Aug 20 18:27:02 PDT 2007
Author: hjg
Date: 2007-08-20 21:27:02 -0400 (Mon, 20 Aug 2007)
New Revision: 1968
Modified:
branches/uml/source/main/cUMLStateDiagram.cc
Log:
Enabled scenario satisfaction to include null transitions.
Modified: branches/uml/source/main/cUMLStateDiagram.cc
===================================================================
--- branches/uml/source/main/cUMLStateDiagram.cc 2007-08-21 00:44:13 UTC (rev 1967)
+++ branches/uml/source/main/cUMLStateDiagram.cc 2007-08-21 01:27:02 UTC (rev 1968)
@@ -170,7 +170,12 @@
if (temp > longest_dist) {
longest_dist = temp;
}
- }
+ } 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