dyng
|
Functions for writing graphs to external drawing formats. More...
#include <iosfwd>
#include <string>
#include <vector>
#include <memory>
Go to the source code of this file.
Data Structures | |
class | Dyng::GravWriter |
Base class for writing to Grav files. More... | |
struct | Dyng::GravWriter::Color |
An RGB color. More... | |
class | Dyng::CorridorGravWriter |
Writes the Grav with the corridor and active graph highlighted. More... | |
class | Dyng::PathGravWriter |
Writes a path. More... | |
class | Dyng::FlowGravWriter |
Grav writer for fractional flows. More... | |
Namespaces | |
Dyng | |
The namespace of DynG. | |
Typedefs | |
typedef int | Dyng::index_type |
Type of indices. | |
Enumerations | |
enum | Dyng::Attribute : int { Dyng::COST = 0, Dyng::BASECOST = 1, Dyng::AUGCOST = 2, Dyng::FLOW = 3, Dyng::NODE = 4, Dyng::TIME = 5 } |
Attribute for building node/arc descriptions. More... | |
Functions | |
void | Dyng::write_basegraph_tikz (const Net &net, bool withdoc, std::ostream &out) |
Write base graph in Tikz format. More... | |
void | Dyng::write_basegraph_grav (const Net &net, const std::string &name, std::ostream &out) |
Write base graph in grav format. More... | |
void | Dyng::write_rgraph (const Net &net, std::ostream &out) |
Write time expansion in rgraph format. More... | |
void | Dyng::write_corridor_grav (std::ostream &out, const Net &net, const std::string &name, bool addgraph=false) |
Write time expansion in grav format. More... | |
void | Dyng::write_grav (const Net &net, const std::string &name, const std::vector< index_type > &path, std::ostream &out) |
Write time expansion in grav format with some highlighted path. More... | |
void | Dyng::write_grav (const Net &net, const std::string &name, const std::vector< double > &basecosts, const std::vector< double > &augcosts, const std::vector< index_type > &path, std::ostream &out) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Write time expansion in grav format with some highlighted path. More... | |
void | Dyng::write_grav (const Net &net, const std::string &name, int(*getattr)(Attribute attr, index_type id, void *value), const std::vector< index_type > &path, std::ostream &out) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Write time expansion in grav format with some highlighted path. More... | |
void | Dyng::write_grav (const Net &net, const std::string &name, const std::vector< const char *> &nodedesc, const std::vector< const char *> &arcdesc, const std::vector< index_type > &path, std::ostream &out) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Write time expansion in grav format with some highlighted path. More... | |
void | Dyng::write_grav (const Net &net, const std::string &name, const std::vector< double > &basecosts, const std::vector< double > &augcosts, const std::vector< const char *> &nodedesc, const std::vector< const char *> &arcdesc, const std::vector< index_type > &path, std::ostream &out) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Write time expansion in grav format with some highlighted path. More... | |
void | Dyng::write_flow_grav (std::ostream &out, const Net &net, const std::string &name, const std::vector< double > &basecosts, const std::vector< double > &augcosts, const std::vector< const char *> &nodedesc, const std::vector< const char *> &arcdesc, const std::vector< double > &flow, bool append=false) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Write time expansion in grav format with some colorized flow. More... | |
Functions for writing graphs to external drawing formats.