dyng
Public Member Functions
Dyng::PathGravWriter Class Reference

Writes a path. More...

#include <draw.hxx>

Inheritance diagram for Dyng::PathGravWriter:
Dyng::GravWriter

Public Member Functions

 PathGravWriter (const Net &net, const std::string &name, const std::vector< index_type > &path)
 
 PathGravWriter (const Net &net, const std::string &name, const std::vector< double > &basecosts, const std::vector< double > &augcosts, const std::vector< index_type > &path)
 
 PathGravWriter (const Net &net, const std::string &name, int(*getattr)(Attribute attr, index_type id, void *value), const std::vector< index_type > &path)
 
 PathGravWriter (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)
 
 PathGravWriter (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)
 
bool node (index_type nodeid, Color &color, NodeShape &shape, std::string &desc)
 Get node info.
 
bool arc (index_type arcid, double &cost, double &flow, Color &color, std::string &desc)
 Get arc info.
 
- Public Member Functions inherited from Dyng::GravWriter
 GravWriter (const Net &net, const std::string &name)
 Create a GravWriter for a network. More...
 
virtual ~GravWriter ()
 Destructor.
 
virtual bool append () const
 Returns true iff the graph to be written should be appended. More...
 
virtual void write (std::ostream &out)
 Write the graph to the given output stream.
 

Additional Inherited Members

- Public Types inherited from Dyng::GravWriter
enum  NodeShape { Disc, Circ }
 The shape of a node.
 
- Protected Attributes inherited from Dyng::GravWriter
const Net_net
 the network to be drawn
 
const std::string _name
 name of the graph in the grav file
 

Detailed Description

Writes a path.


The documentation for this class was generated from the following file: