pass flags into process_segment (#6658)
* pass flags into process_segment --------- Co-authored-by: Michael Bell <michael@mjjbell.com>
This commit is contained in:
committed by
GitHub
parent
8ef366e061
commit
7ebd21f39e
@@ -1,6 +1,7 @@
|
||||
#ifndef OSRM_EXTRACTION_SEGMENT_HPP
|
||||
#define OSRM_EXTRACTION_SEGMENT_HPP
|
||||
|
||||
#include <extractor/node_based_edge.hpp>
|
||||
#include <util/coordinate.hpp>
|
||||
|
||||
namespace osrm::extractor
|
||||
@@ -12,9 +13,10 @@ struct ExtractionSegment
|
||||
const osrm::util::Coordinate target_,
|
||||
double distance_,
|
||||
double weight_,
|
||||
double duration_)
|
||||
double duration_,
|
||||
const NodeBasedEdgeClassification flags_)
|
||||
: source(source_), target(target_), distance(distance_), weight(weight_),
|
||||
duration(duration_)
|
||||
duration(duration_), flags(flags_)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -23,6 +25,7 @@ struct ExtractionSegment
|
||||
const double distance;
|
||||
double weight;
|
||||
double duration;
|
||||
const NodeBasedEdgeClassification flags;
|
||||
};
|
||||
} // namespace osrm::extractor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user