[Avida-cvs] [avida-svn] r810 - development/source/analyze
brysonda@myxo.css.msu.edu
brysonda at myxo.css.msu.edu
Thu Jul 6 19:03:16 PDT 2006
Author: brysonda
Date: 2006-07-06 22:03:16 -0400 (Thu, 06 Jul 2006)
New Revision: 810
Modified:
development/source/analyze/cAnalyze.cc
Log:
Add some console feedback to TruncateLineage.
Modified: development/source/analyze/cAnalyze.cc
===================================================================
--- development/source/analyze/cAnalyze.cc 2006-07-07 00:21:43 UTC (rev 809)
+++ development/source/analyze/cAnalyze.cc 2006-07-07 02:03:16 UTC (rev 810)
@@ -69,7 +69,7 @@
, inst_set(world->GetHardwareManager().GetInstSet())
, m_ctx(world->GetDefaultContext())
, m_jobqueue(world)
-, verbose(nAnalyze::VERBOSE_NORMAL)
+, verbose(world->GetConfig().VERBOSITY.Get())
, interactive_depth(0)
{
@@ -1581,6 +1581,11 @@
BatchRecalculate("");
if (type == "task") {
+ if (verbose >= nAnalyze::VERBOSE_ON)
+ cout << "Truncating batch " << cur_batch << " based on task " << arg_i << " emergence..." << endl;
+ else
+ cout << "Truncating lineage..." << endl;
+
bool found = false;
tListIterator<cAnalyzeGenotype> batch_it(batch[cur_batch].List());
cAnalyzeGenotype* genotype = NULL;
More information about the Avida-cvs
mailing list