PGROUTING  2.6-dev
pgrouting::trsp Namespace Reference

Classes

class  EdgeInfo
 
class  Pgr_trspHandler
 
class  Rule
 

Functions

std::ostream & operator<< (std::ostream &log, const Rule &r)
 

Function Documentation

std::ostream& pgrouting::trsp::operator<< ( std::ostream &  log,
const Rule r 
)

Definition at line 49 of file rule.cpp.

References pgrouting::trsp::Rule::m_cost, and pgrouting::trsp::Rule::m_precedencelist.

49  {
50  log << r.m_cost << ", (";
51  for (const auto e : r.m_precedencelist) {
52  log << e << ",";
53  }
54  log << ")";
55  return log;
56  }