std::cerr << "WARNING: Found non-integer-text in inscription-tag (weight) on arc from " << source << " to " << target << " with value \"" << text << "\". An integer was expected. Using " << weight << " as weight." << std::endl;
472
std::cerr << "ERROR: Found non-integer-text in inscription-tag (weight) on arc from " << source << " to " << target << " with value \"" << text << "\". An integer was expected." << std::endl;
473
exit(ErrorCode);
473
474
}
474
475
assert(weight > 0);
475
476
if(!first)
476
477
{
477
std::cerr << "WARNING: Multiple inscription tags in xml of a arc from " << source << " to " << target << ". Using last found value" << std::endl;
478
std::cerr << "ERROR: Multiple inscription tags in xml of a arc from " << source << " to " << target << "." << std::endl;