[Avida-SVN] r1435 - in development: . source/main source/targets/avida-viewer

ofria at myxo.css.msu.edu ofria at myxo.css.msu.edu
Tue Mar 27 20:49:08 PDT 2007


Author: ofria
Date: 2007-03-27 23:49:08 -0400 (Tue, 27 Mar 2007)
New Revision: 1435

Added:
   development/CONTRIBUTORS
   development/source/targets/avida-viewer/NOTES
Modified:
   development/source/main/avida.cc
   development/source/targets/avida-viewer/cSymbolUtil.h
Log:
Added to NOTES fil in avida-viewer some information about how the viewer is
structured and how it should be refactored.  Also readjusted contributors list
to only print the active contributors when Avida id run and give a pointer to
a (new) CONTRIBUTORS file.


Added: development/CONTRIBUTORS
===================================================================
--- development/CONTRIBUTORS	2007-03-27 16:27:20 UTC (rev 1434)
+++ development/CONTRIBUTORS	2007-03-28 03:49:08 UTC (rev 1435)
@@ -0,0 +1,22 @@
+Avida version  2.7.0
+
+by Charles Ofria
+
+Lead Developers: David Bryson (Avida) and Kaben Nanlohy (Avida-ED)
+
+Portions by Brian Baer, Jeffrey Barrick, Benjamin Beckmann, Jeffrey Clune,
+Travis Collier, Art Covert, Evan Dorn, Sherri Goings, Heather Goldsby,
+George Hagstrom, Dehua Hang, Wei Huang, David Knoester, Dusan Misevic,
+Elizabeth Ostrowski, Matthew Rupp, Jason Stredwick, Bess Walker, Claus Wilke,
+and Larry Wisne
+
+With design help from Christoph Adami, C. Titus Brown, Timothy Cooper,
+Santiago Elena, Richard Lenski, Philip McKinley, Robert Pennock, Thomas
+Schmidt, Robert Schwartz, Eric Torng, Jialan Wang, Daniel Weise, and Gabriel
+Yedid
+
+Copyright (C) 1999-2007 Michigan State University.
+Copyright (C) 1993-2003 California Institute of Technology.
+
+This project has been funded by the National Science Foundation, DARPA, 
+the Templeton Foundation, and Microsoft Corp.

Modified: development/source/main/avida.cc
===================================================================
--- development/source/main/avida.cc	2007-03-27 16:27:20 UTC (rev 1434)
+++ development/source/main/avida.cc	2007-03-28 03:49:08 UTC (rev 1435)
@@ -82,18 +82,19 @@
   // output copyright message
   cout << "----------------------------------------------------------------------" << endl;
   cout << getAvidaVersion() << endl << endl;
+
   cout << "by Charles Ofria" << endl << endl;
+
   cout << "Lead Developers: David Bryson (Avida) and Kaben Nanlohy (Avida-ED)" << endl << endl;
-  cout << "Portions by Brian Baer, Jeffrey Barrick, Benjamin Beckmann, Jeffrey Clune," << endl
-       << "Travis Collier, Art Covert, Evan Dorn, Sherri Goings, George Hagstrom," << endl
-       << "Dehua Hang, Wei Huang, David Knoester, Dusan Misevic, Elizabeth Ostrowski," << endl
-       << "Matthew Rupp, Jason Stredwick, Bess Walker, Claus Wilke, and Larry Wisne" << endl << endl;
 
-  cout << "With design help from Christoph Adami, C. Titus Brown, Timothy Cooper," << endl
-       << "Santiago Elena, Richard Lenski, Philip McKinley, Robert Pennock, Thomas" << endl
-       << "Schmidt, Robert Schwartz, Eric Torng, Jialan Wang, Daniel Weise, and Gabriel" << endl
-       << "Yedid" << endl;
+  cout << "Active contributors include:  Christoph Adami, Brian Baer, Jeffrey Barrick," << endl
+       << "Benjamin Beckmann, Jeffrey Clune, Art Covert, Santiago Elena, Sherri Goings," << endl
+       << "Heather Goldsby, David Knoester, Richard Lenski, Philip McKinley," << endl
+       << "Dusan Misevic, Elizabeth Ostrowski, Robert Pennock, Matthew Rupp, Eric Torng," << endl
+       << "Bess Walker, and Gabriel Yedid" << endl << endl;
 
+  cout << "For a more complete list of contributors, see the CONTRIBUTORS file." << endl;
+
   cout << endl;
 
   cout << "Copyright (C) 1999-2007 Michigan State University." << endl;

Added: development/source/targets/avida-viewer/NOTES
===================================================================
--- development/source/targets/avida-viewer/NOTES	2007-03-27 16:27:20 UTC (rev 1434)
+++ development/source/targets/avida-viewer/NOTES	2007-03-28 03:49:08 UTC (rev 1435)
@@ -0,0 +1,60 @@
+==> Drivers (these manage an avida run, with a viewer or otherwise.)
+cTextViewerAnalyzeDriver.h
+cTextViewerDriver.h
+cTextViewerDriver_Base.h
+
+==> General Tools
+cBaseTextWindow.h	- A generic text window base class (not NCurses specific).
+cTextWindow.h		- An easy-to-use text window for NCurses.
+cMenuWindow.h		- Creates a new cTextWindow, provides a menu of choices, and returns the user selection.
+cTabBox.h		- Accepts a cTextWindow and draws a set of tabs in it.  Returns id of current tab.
+
+==> Avida-Specific Tools
+cViewInfo.h		- Maintains information about the current state of avida population (map, geneback, etc)
+cSymbolUtil.h		- A simple utility to convert a property of a cell into a map-screen symbol.
+
+==> Managers for the current view.
+cView_Base.h		- Base view class for unified interface.
+cView.h			- Manages the normal text viewer.
+cAnalyzeView.h		- Manages the analyze-only text viewer (still needs some development.)
+cScreen.h		- Base class for all screen modes; defines general interface.  Derrived from cTextWindow
+
+
+==> The individual screen drivers. (all derrived from cScreen)
+cBarScreen.h		- Bar thats always along the top in all screen modes (main viewer only).
+
+cAnalyzeScreen.h
+cEnvironmentScreen.h
+cHistScreen.h
+cMapScreen.h
+cOptionsScreen.h
+cStatsScreen.h
+cZoomScreen.h
+
+
+New Generic Tools
+-----------------
+Environment moderator.  Provides lists of resources, reactions, tasks, etc.  If one of these is sent back in,
+more info will be returned.
+
+Historgram moderiator.  Provides a list of entries that can be historgramed.  If one is returned to it, it will
+provide a list of labels and numbers that describe the histogram.
+
+Map moderator.  Provides a list of map modes (with some editing-out of those that are not relevent for the current
+configs).  Also provides a grid of colors/symbols to be displayed (perhaps with some centering tools?).  If the
+interface returns one of the map modes, it changes the current mode.
+
+Options moderator.  Will send a list of the settings and their values, as well as their type (int, double, or string)
+or the set of allowable option, plus descriptions.  Some of them will come with "set" methods to run if they're
+changed from the interface.
+
+Stats moderator.  Keeps groups of stats and their current values.
+
+CPU moderator.  Will return the genome sequence(s) of the current organism.  Will also return various types of
+hardware info and stats, but in an generic form that can be described to the viewer to allow easy of new CPU
+development.  Entering a cpu ID (position in array given by map manager) will update to a new CPU.
+
+Genotype moderator.  Similar to cpu moderator, but keeping track of genotype information.  (Perhaps make a general
+taxanomic level moderator?)
+
+Analyze moderator.  Manage shell functionaity.

Modified: development/source/targets/avida-viewer/cSymbolUtil.h
===================================================================
--- development/source/targets/avida-viewer/cSymbolUtil.h	2007-03-27 16:27:20 UTC (rev 1434)
+++ development/source/targets/avida-viewer/cSymbolUtil.h	2007-03-28 03:49:08 UTC (rev 1435)
@@ -20,7 +20,7 @@
   static char GetBreedSymbol(    const cPopulationCell & cell );
   static char GetParasiteSymbol( const cPopulationCell & cell );
   static char GetMutSymbol(      const cPopulationCell & cell );
-  static char GetThreadSymbol(const cPopulationCell & cell);
+  static char GetThreadSymbol(   const cPopulationCell & cell );
   static char GetLineageSymbol(  const cPopulationCell & cell );
 };
 




More information about the Avida-cvs mailing list