Changeset 375 for cpp/frams/genetics/f4
- Timestamp:
- 04/26/15 00:59:09 (10 years ago)
- Location:
- cpp/frams/genetics/f4
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/f4/conv_f4.cpp
r372 r375 6 6 7 7 #include "conv_f4.h" 8 #include <common/ hmessage.h>8 #include <common/log.h> 9 9 #include "../oper_fx.h" //for GENOPER_OK constant 10 10 … … 110 110 if (res) 111 111 { 112 Hmessage("f4_Model", "buildModelRec", "Error in building Model", 2);112 logMessage("f4_Model", "buildModelRec", 2, "Error in building Model"); 113 113 error = res; 114 114 break; … … 134 134 return cells->C[i]; 135 135 // none! 136 Hmessage("f4_Model", "getStick", "Not a single stick", 2);136 logMessage("f4_Model", "getStick", 2, "Not a single stick"); 137 137 return NULL; 138 138 } -
cpp/frams/genetics/f4/f4_general.cpp
r372 r375 7 7 #include "f4_general.h" 8 8 #include <common/nonstd_stl.h> 9 #include <common/ hmessage.h>9 #include <common/log.h> 10 10 #include <frams/model/model.h> // for min and max attributes 11 11 #include "../oper_fx.h" //for GENOPER_ constants … … 581 581 char buf[40]; 582 582 sprintf(buf, "unknown code '%c'", gcur->name); 583 Hmessage("f4_Cell", "onestep", buf, 2);583 logMessage("f4_Cell", "onestep", 2, buf); 584 584 // fix: delete it 585 585 org->setRepairRemove(gcur->pos, gcur); -
cpp/frams/genetics/f4/oper_f4.cpp
r372 r375 8 8 #include "oper_f4.h" 9 9 #include <frams/util/sstring.h> 10 #include <common/ hmessage.h>10 #include <common/log.h> 11 11 12 12 #include <stdio.h> … … 51 51 mutation_method_names[index++] = "deleted a node"; 52 52 mutation_method_names[index++] = "modified a node"; 53 if (index != F4_COUNT + F4_ADD_COUNT - 1) Hmessage("Geno_f4", "Constructor", "Mutation names init error", 3);53 if (index != F4_COUNT + F4_ADD_COUNT - 1) logMessage("Geno_f4", "Constructor", 3, "Mutation names init error"); 54 54 } 55 55
Note: See TracChangeset
for help on using the changeset viewer.