-
-
Notifications
You must be signed in to change notification settings - Fork 395
Expand file tree
/
Copy pathutilities.hpp
More file actions
50 lines (37 loc) · 1.61 KB
/
utilities.hpp
File metadata and controls
50 lines (37 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*PGR-GNU*****************************************************************
File: utilities.hpp
Copyright (c) 2016-2026 pgRouting developers
Mail: project@pgrouting.org
------
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
********************************************************************PGR-GNU*/
#ifndef INCLUDE_CPP_COMMON_UTILITIES_HPP_
#define INCLUDE_CPP_COMMON_UTILITIES_HPP_
#pragma once
#include <set>
#include <vector>
#include <string>
#include <cstdint>
#include "c_common/enums.h"
#include "c_types/mst_rt.h"
#include "c_types/flow_t.h"
namespace pgrouting {
std::string get_name(Which);
std::string get_name(Which, bool, bool);
std::string get_name(Which, bool, bool, bool);
char estimate_drivingSide(char, Which);
void get_new_queries(const std::string&, const std::string&, std::string&, std::string&);
std::vector<MST_rt> only_root_result(const std::set<int64_t>&);
std::vector<Flow_t> only_maxFlow_result(int64_t);
} // namespace pgrouting
#endif // INCLUDE_CPP_COMMON_UTILITIES_HPP_