27 #ifndef INCLUDE_CPP_COMMON_BASIC_VERTEX_H_ 28 #define INCLUDE_CPP_COMMON_BASIC_VERTEX_H_ 53 id(is_source? other.source : other.target) {}
70 std::vector < Basic_vertex > vertices,
74 std::vector < Basic_vertex > vertices,
75 const std::vector < pgr_edge_t > data_edges);
81 const std::vector < pgr_edge_t > &data_edges);
86 #endif // INCLUDE_CPP_COMMON_BASIC_VERTEX_H_
Basic_vertex(const pgr_edge_t &other, bool is_source)
void cp_members(const Basic_vertex &other)
Basic_vertex(const int64_t _id)
std::vector< Basic_vertex > extract_vertices(std::vector< Basic_vertex > vertices, const std::vector< pgr_edge_t > data_edges)
Book keeping class for swapping orders between vehicles.
Basic_vertex(const Basic_vertex &v)
size_t check_vertices(std::vector< Basic_vertex > vertices)
Basic_vertex & operator=(const Basic_vertex &)=default
friend std::ostream & operator<<(std::ostream &log, const Basic_vertex &v)