Revision 4ca27bae

View differences:

custompackages/graph-parser/src/bi_connected_components.cpp
439 439
    }
440 440

  
441 441
    BCCs[comp_index].update_weight_map(vertex_id, link_weight);
442
    // cout << "  update weight for vertex_component pair: " << comp_index << " | " << vertex_id << " = " << link_weight << endl;
442 443
    find_unknown_weight_wrt_component(comp_index);
443 444
}
444 445

  
......
471 472
    for (int i = 0; i < num_of_bcc_; ++i) {
472 473
        for (string id : BCCs[i].art_points_id()) {
473 474
            if (BCCs[i].get_weight_map(id) == -1) {
474
                cout << "ERROR Link Weight for vertex " << id << " = " << -1 << endl;
475
                cout << "ERROR Link Weight for vertex " << id << " in component " << i << " = " << -1 << endl;
475 476
                result = false;
476 477
            }
477 478
        }
custompackages/graph-parser/src/main.cpp
74 74
}
75 75

  
76 76
int main(int argc, char * argv[]) {
77
    // Example: ./main simple.edges 1 true true
78

  
77 79
    bool is_weighted_graph = true;
78 80
    bool targets_inclusion = true;
79 81
    string filepath;
custompackages/graph-parser/src/sub_component.cpp
252 252
}
253 253

  
254 254
bool SubComponent::vertex_exists(string name) {
255
    stdhelper::exists(art_points_id_, name);
255
    return stdhelper::exists(art_points_id_, name);
256 256
}
257 257

  
258 258
string SubComponent::first_vertex_id_with_unknown_weight() {

Also available in: Unified diff