Changeset 6141 for trunk/AWT/AWT_tree_cmp.cxx
- Timestamp:
- 14/08/09 16:29:27 (3 years ago)
- Files:
-
- 1 modified
-
trunk/AWT/AWT_tree_cmp.cxx (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/AWT/AWT_tree_cmp.cxx
r6024 r6141 79 79 80 80 int AWT_species_set_root::search(AWT_species_set *set,FILE *log_file){ 81 long net to_cost;81 long net_cost; 82 82 double best_cost; 83 AWT_species_set *bs = this->search(set,&net to_cost);84 best_cost = net to_cost + set->unfound_species_count * 0.0001;83 AWT_species_set *bs = this->search(set,&net_cost); 84 best_cost = net_cost + set->unfound_species_count * 0.0001; 85 85 if (best_cost < bs->best_cost){ 86 86 bs->best_cost = best_cost; … … 88 88 } 89 89 if (log_file){ 90 if ( net to_cost){90 if ( net_cost){ 91 91 fprintf(log_file, "Node '%s' placed not optimal, %li errors\n", 92 92 set->node->name, 93 net to_cost);94 } 95 } 96 return net to_cost;93 net_cost); 94 } 95 } 96 return net_cost; 97 97 } 98 98 … … 195 195 } 196 196 197 GB_ERROR AWT_species_set_root::copy_node_info s(FILE *log, bool delete_old_nodes, bool nodes_with_marked_only) {197 GB_ERROR AWT_species_set_root::copy_node_information(FILE *log, bool delete_old_nodes, bool nodes_with_marked_only) { 198 198 GB_ERROR error = 0; 199 199 long j; … … 307 307 308 308 if (!compare_node_info) { 309 aw_status("Copy Node Information s");310 ssr->copy_node_info s(log, delete_old_nodes, nodes_with_marked_only);309 aw_status("Copy Node Information"); 310 ssr->copy_node_information(log, delete_old_nodes, nodes_with_marked_only); 311 311 } 312 312
