[Avida-SVN] r2725 - in development/source: tools utils/hist_map

charles at myxo.css.msu.edu charles at myxo.css.msu.edu
Tue Jul 22 09:29:17 PDT 2008


Author: charles
Date: 2008-07-22 12:29:17 -0400 (Tue, 22 Jul 2008)
New Revision: 2725

Modified:
   development/source/tools/tHashTable.h
   development/source/utils/hist_map/Makefile
   development/source/utils/hist_map/hist_map.cc
Log:
Updated hist_map command to be able to compile again.


Modified: development/source/tools/tHashTable.h
===================================================================
--- development/source/tools/tHashTable.h	2008-07-22 16:20:22 UTC (rev 2724)
+++ development/source/tools/tHashTable.h	2008-07-22 16:29:17 UTC (rev 2725)
@@ -124,7 +124,7 @@
       out_hash += (unsigned int) key[i];
     return out_hash % table_size;
   }
-};
+}
 
 
 template <class HASH_TYPE, class DATA_TYPE> class tHashTable {

Modified: development/source/utils/hist_map/Makefile
===================================================================
--- development/source/utils/hist_map/Makefile	2008-07-22 16:20:22 UTC (rev 2724)
+++ development/source/utils/hist_map/Makefile	2008-07-22 16:29:17 UTC (rev 2725)
@@ -22,14 +22,15 @@
 ### Different Builds #########################################################
 
 # executable make
-TARGET		= hist_map2
+TARGET		= hist_map
 
 default:  $(TARGET)
 
 ### List Source Files in the Project #########################################
-SRC		= hist_map2.cc			../../tools/cFile.cc  \
+SRC		= hist_map.cc			../../tools/cFile.cc  \
 		../../tools/cInitFile.cc	../../tools/cString.cc  \
 		../../tools/cStringList.cc  ../../tools/cStringIterator.cc  \
+		../../tools/cStringUtil.cc
 
 ### List Object Files (for each source file there is a object file) ###########
 OBJ	 	= $(SRC:.cc=.o)
@@ -71,16 +72,3 @@
 ### Release Packageing ########################################################
 # DO NOT DELETE
 
-hist_map2.o: ../../tools/tMatrix.h ../../tools/tArray.h
-hist_map2.o: ../../tools/cString.h ../../tools/cFile.h
-hist_map2.o: ../../tools/cInitFile.h ../../tools/cStringList.h
-hist_map2.o: ../../tools/tList.h
-../../tools/file.o: ../../tools/cFile.h ../../tools/cString.h
-../../tools/file.o: ../../tools/cInitFile.h ../../tools/cStringList.h
-../../tools/file.o: ../../tools/tList.h ../../tools/tArray.h
-../../tools/file.o: ../../tools/cGenesis.h ../../tools/cStringIterator.h
-../../tools/file.o: ../../tools/cTools.h ../../tools/cRandom.h
-../../tools/init_file.o: ../../tools/cInitFile.h ../../tools/cStringList.h
-../../tools/init_file.o: ../../tools/tList.h ../../tools/tArray.h
-../../tools/init_file.o: ../../tools/cStringIterator.h
-../../tools/string.o: ../../tools/cString.h

Modified: development/source/utils/hist_map/hist_map.cc
===================================================================
--- development/source/utils/hist_map/hist_map.cc	2008-07-22 16:20:22 UTC (rev 2724)
+++ development/source/utils/hist_map/hist_map.cc	2008-07-22 16:29:17 UTC (rev 2725)
@@ -4,11 +4,11 @@
 
 #include <iostream>
 
-#include "tools/tMatrix.h"
+#include "../../tools/tMatrix.h"
 
-#include "tools/cString.h"
-#include "tools/cFile.h"
-#include "tools/cInitFile.h"
+#include "../../tools/cString.h"
+#include "../../tools/cFile.h"
+#include "../../tools/cInitFile.h"
 
 
 using namespace std;
@@ -34,9 +34,9 @@
     cerr << "Processing: '" << argv[i+3] << "'" << endl;
 
     cInitFile file(argv[i+3]);
-    file.Load();
-    file.Compress();
-    file.Close();
+//     file.Load();
+//     file.Compress();
+//     file.Close();
 
     tArray<int> & site_count = count_arrays[i];
     site_count.SetAll(0);




More information about the Avida-cvs mailing list