creates a default edge of unit weight
| 24 | |
| 25 | // creates a default edge of unit weight |
| 26 | inline InputEdge MakeUnitEdge(const NodeID from, const NodeID to) |
| 27 | { |
| 28 | return {from, // source |
| 29 | to, // target |
| 30 | EdgeWeight{1}, // weight |
| 31 | EdgeDuration{1}, // duration |
| 32 | EdgeDistance{1}, // distance |
| 33 | GeometryID{0, false}, // geometry_id |
| 34 | false, // reversed |
| 35 | NodeBasedEdgeClassification(), // default flags |
| 36 | 0}; // AnnotationID |
| 37 | } |
| 38 | |
| 39 | bool compatible(Graph const &graph, |
| 40 | const std::vector<NodeBasedEdgeAnnotation> &node_data_container, |
no test coverage detected