[Swift-commit] r5549 - SwiftApps/SciColSim

jonmon at ci.uchicago.edu jonmon at ci.uchicago.edu
Mon Feb 6 11:08:58 CST 2012


Author: jonmon
Date: 2012-02-06 11:08:58 -0600 (Mon, 06 Feb 2012)
New Revision: 5549

Modified:
   SwiftApps/SciColSim/annealing.swift
Log:
write to best_opt_some_swift.txt file using fprintf



Modified: SwiftApps/SciColSim/annealing.swift
===================================================================
--- SwiftApps/SciColSim/annealing.swift	2012-02-05 10:33:36 UTC (rev 5548)
+++ SwiftApps/SciColSim/annealing.swift	2012-02-06 17:08:58 UTC (rev 5549)
@@ -160,9 +160,9 @@
 
                 if ( mlres[i][j].loss < ALOT )
                 {
-                    tracef( "multi_annealing: AF: best_opt_some.txt: %f,%f,%f,%f,%f,%f,%f,%f\n",
+                    fprintf( "best_opt_some_swift.txt", "%f,%f,%f,%f,%f,%f,%f,%f\n",
                            target_innov, mlres[i][j].loss, try_x[0], try_x[1], try_x[2], try_x[3], try_x[4], mlres[i][j].sdev );
-                    tracef( color( Red,"multi_annealing: AF: max_dist.txt - tbd\n" ) ); // FIXME: max_dist is global set in evolve()
+                    fprintf( "max_dist_swift.txt", color( Red,"multi_annealing: AF: max_dist.txt - tbd\n" ) ); // FIXME: max_dist is global set in evolve()
                 }
                 else
                 {  // does this ever occur? if so did we want to still do the ratio computation above???




More information about the Swift-commit mailing list