Remove logging.

This commit is contained in:
Daniel Patterson
2018-09-07 04:05:37 -07:00
committed by Huyen Chau Nguyen
parent 2cc32dcc88
commit 0bf0535a8a
6 changed files with 0 additions and 79 deletions
-14
View File
@@ -103,20 +103,6 @@ int Contractor::Run()
std::vector<std::vector<bool>> edge_filters;
std::vector<std::vector<bool>> cores;
std::cout << "Pre contractor edge-based-graph" << std::endl;
for (const auto &edge : edge_based_edge_list)
{
std::cout << " EdgeBasedEdge {";
std::cout << " source " << edge.source << ", target: " << edge.target;
std::cout << " EdgeBasedEdgeData data {";
std::cout << " turn_id: " << edge.data.turn_id << ", weight: " << edge.data.weight;
std::cout << " distance: " << edge.data.distance << ", duration: " << edge.data.duration;
std::cout << " forward: " << (edge.data.forward == 0 ? "false" : "true")
<< ", backward: " << (edge.data.backward == 0 ? "false" : "true");
std::cout << " }";
std::cout << "}" << std::endl;
}
std::tie(query_graph, edge_filters) = contractExcludableGraph(
toContractorGraph(number_of_edge_based_nodes, std::move(edge_based_edge_list)),
std::move(node_weights),
-4
View File
@@ -207,8 +207,6 @@ void ContractNode(ContractorThreadData *data,
}
else
{
std::cout << "Contractor: " << in_data.distance << "," << out_data.distance
<< std::endl;
// CAREFUL: This only works due to the independent node-setting. This
// guarantees that source is not connected to another node that is
// contracted
@@ -280,8 +278,6 @@ void ContractNode(ContractorThreadData *data,
}
else
{
std::cout << "Contractor: " << in_data.distance << "," << out_data.distance
<< std::endl;
inserted_edges.emplace_back(source,
target,
path_weight,
@@ -68,7 +68,6 @@ void relaxOutgoingEdges(const DataFacade<Algorithm> &facade,
const auto edge_duration = data.duration;
const auto edge_distance = data.distance;
std::cout << "edge_distance " << data.distance << std::endl;
BOOST_ASSERT_MSG(edge_weight > 0, "edge_weight invalid");
const auto to_weight = weight + edge_weight;
@@ -653,8 +653,6 @@ void EdgeBasedGraphFactory::GenerateEdgeExpandedEdges(
auto duration = boost::numeric_cast<EdgeWeight>(edge_data1.duration + duration_penalty);
auto distance = boost::numeric_cast<EdgeDistance>(edge_data1.distance);
std::cout << "EBGF distance: " << distance << std::endl;
EdgeBasedEdge edge_based_edge = {edge_based_node_from,
edge_based_node_to,
SPECIAL_NODEID, // This will be updated once the main