2018-01-05 08:33:53 -05:00
|
|
|
#ifndef OSRM_EXTRACTOR_INTERSECTION_HAVE_IDENTICAL_NAMES_HPP_
|
|
|
|
#define OSRM_EXTRACTOR_INTERSECTION_HAVE_IDENTICAL_NAMES_HPP_
|
2018-01-19 13:49:00 -05:00
|
|
|
|
2018-03-21 07:10:02 -04:00
|
|
|
#include "extractor/name_table.hpp"
|
2018-01-19 13:49:00 -05:00
|
|
|
#include "extractor/suffix_table.hpp"
|
2018-01-05 08:33:53 -05:00
|
|
|
#include "guidance/constants.hpp"
|
2018-01-19 13:49:00 -05:00
|
|
|
|
2022-12-11 04:10:26 -05:00
|
|
|
namespace osrm::extractor::intersection
|
2018-01-19 13:49:00 -05:00
|
|
|
{
|
|
|
|
|
|
|
|
// check if two name ids can be seen as identical (in presence of refs/others)
|
|
|
|
// in our case this translates into no name announcement in either direction (lhs->rhs and
|
|
|
|
// rhs->lhs)
|
|
|
|
bool HaveIdenticalNames(const NameID lhs,
|
|
|
|
const NameID rhs,
|
2018-03-21 07:10:02 -04:00
|
|
|
const NameTable &name_table,
|
2018-01-19 13:49:00 -05:00
|
|
|
const SuffixTable &street_name_suffix_table);
|
|
|
|
|
2022-12-20 12:00:11 -05:00
|
|
|
} // namespace osrm::extractor::intersection
|
2018-01-19 13:49:00 -05:00
|
|
|
|
2018-01-05 08:33:53 -05:00
|
|
|
#endif /*OSRM_EXTRACTOR_INTERSECTION_HAVE_IDENTICAL_NAMES_HPP_*/
|