A functor to print a vertex and its adjacencies in 1-based form. More...
Public Member Functions | |
vertex_to_edgelist_1based_func (bool is_directed=false) | |
template<typename Vertex > | |
void | operator() (Vertex &&v, std::ostream &os) |
Protected Attributes | |
bool | m_is_directed |
A functor to print a vertex and its adjacencies in 1-based form.
The output is in the form of an edge-list. format:
/// SRC TGT /// SRC TGT /// ... ///