PGROUTING
3.2
|
#include "pgr_turnRestrictedPath.hpp"
Public Member Functions | |
Myvisitor (pSet &solutions, std::vector< trsp::Rule > &restrictions, bool stop_on_first) | |
void | on_insert_first_solution (const Path path) const |
void | on_insert_to_heap (const Path path) const |
Private Member Functions | |
bool | has_restriction (const Path &path) const |
Private Attributes | |
std::vector< trsp::Rule > & | m_restrictions |
pSet & | m_solutions |
bool | m_stop_on_first |
Definition at line 58 of file pgr_turnRestrictedPath.hpp.
|
inline |
Definition at line 60 of file pgr_turnRestrictedPath.hpp.
|
inlineprivate |
Definition at line 90 of file pgr_turnRestrictedPath.hpp.
References Path::has_restriction(), and pgrouting::yen::Pgr_turnRestrictedPath< G >::Myvisitor::m_restrictions.
Referenced by pgrouting::yen::Pgr_turnRestrictedPath< G >::Myvisitor::on_insert_first_solution(), and pgrouting::yen::Pgr_turnRestrictedPath< G >::Myvisitor::on_insert_to_heap().
|
inlinevirtual |
Reimplemented from pgrouting::yen::Pgr_ksp< G >::Visitor.
Definition at line 69 of file pgr_turnRestrictedPath.hpp.
References Path::empty(), pgrouting::yen::Pgr_turnRestrictedPath< G >::Myvisitor::has_restriction(), pgrouting::yen::Pgr_turnRestrictedPath< G >::Myvisitor::m_solutions, and pgrouting::yen::Pgr_turnRestrictedPath< G >::Myvisitor::m_stop_on_first.
|
inlinevirtual |
Reimplemented from pgrouting::yen::Pgr_ksp< G >::Visitor.
Definition at line 78 of file pgr_turnRestrictedPath.hpp.
References Path::empty(), pgrouting::yen::Pgr_turnRestrictedPath< G >::Myvisitor::has_restriction(), pgrouting::yen::Pgr_turnRestrictedPath< G >::Myvisitor::m_solutions, and pgrouting::yen::Pgr_turnRestrictedPath< G >::Myvisitor::m_stop_on_first.
|
private |
Definition at line 102 of file pgr_turnRestrictedPath.hpp.
Referenced by pgrouting::yen::Pgr_turnRestrictedPath< G >::Myvisitor::has_restriction().
|
private |
Definition at line 101 of file pgr_turnRestrictedPath.hpp.
Referenced by pgrouting::yen::Pgr_turnRestrictedPath< G >::Myvisitor::on_insert_first_solution(), and pgrouting::yen::Pgr_turnRestrictedPath< G >::Myvisitor::on_insert_to_heap().
|
private |
Definition at line 100 of file pgr_turnRestrictedPath.hpp.
Referenced by pgrouting::yen::Pgr_turnRestrictedPath< G >::Myvisitor::on_insert_first_solution(), and pgrouting::yen::Pgr_turnRestrictedPath< G >::Myvisitor::on_insert_to_heap().