PGROUTING
3.2
|
#include "rule.h"
Public Member Functions | |
Rule (Restriction_t r) | |
iterator | begin () |
constiterator | begin () const |
double | cost () const |
int64_t | dest_id () const |
iterator | end () |
constiterator | end () const |
const std::vector< int64_t > | precedencelist () const |
Private Types | |
using | constiterator = std::vector< int64_t >::const_iterator |
using | iterator = std::vector< int64_t >::iterator |
Private Attributes | |
std::vector< int64_t > | m_all |
double | m_cost |
int64_t | m_dest_id |
std::vector< int64_t > | m_precedencelist |
Friends | |
std::ostream & | operator<< (std::ostream &log, const Rule &r) |
|
private |
|
private |
|
explicit |
|
inline |
|
inline |
Definition at line 52 of file rule.h.
References m_all.
Referenced by Path::find_restriction(), and Path::inf_cost_on_restriction().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 53 of file rule.h.
References m_all.
Referenced by Path::find_restriction(), and Path::inf_cost_on_restriction().
const std::vector< int64_t > Rule::precedencelist | ( | ) | const |
Definition at line 46 of file rule.cpp.
References m_precedencelist.
|
friend |
|
private |
Definition at line 69 of file rule.h.
Referenced by begin(), end(), and pgrouting::trsp::operator<<().
|
private |
|
private |
|
private |
Definition at line 68 of file rule.h.
Referenced by precedencelist(), and Rule().