|
GraphLibrary
0.0.1
A simple library that implements various graph algorithms.
|
Go to the source code of this file.
Functions | |||||||
| std::ostream & | operator<< (std::ostream &os, const gl::Color &rhs) | ||||||
| Prints a gl::Color element. Format: [Hex code;(R,G,B),Opacity]. More... | |||||||
| template<class SCALAR > | |||||||
| std::ostream & | operator<< (std::ostream &os, const gl::Edge< SCALAR > &rhs) | ||||||
| Prints a gl::Edge element. Format: [Source-(Weight)->Destination;Weight/Capacity; Color]. More... | |||||||
Graph output to stream | |||||||
Prints various properties of the graph:
| |||||||
| template<class SCALAR , class STORAGE > | |||||||
| std::ostream & | operator<< (std::ostream &os, const gl::Graph< SCALAR, STORAGE, gl::Directed > &rhs) | ||||||
| Prints all info of a directed graph. More... | |||||||
| template<class SCALAR , class STORAGE > | |||||||
| std::ostream & | operator<< (std::ostream &os, const gl::Graph< SCALAR, STORAGE, gl::Undirected > &rhs) | ||||||
| Prints all info of an undirected graph. More... | |||||||
Container output to stream | |||||||
Prints all contents of the given GraphLib container.
| |||||||
| template<class val_t > | |||||||
| std::ostream & | operator<< (std::ostream &os, const gl::Distance< val_t > &dist) | ||||||
| Prints the value of a gl::Distance. More... | |||||||
| template<class idx_t > | |||||||
| std::ostream & | operator<< (std::ostream &os, const std::list< idx_t > &rhs) | ||||||
| Prints all elements of an std::list. More... | |||||||
| template<class idx_t > | |||||||
| std::ostream & | operator<< (std::ostream &os, const std::vector< idx_t > &rhs) | ||||||
| Prints all elements of an std::vector. More... | |||||||
| template<class idx_t > | |||||||
| std::ostream & | operator<< (std::ostream &os, const std::deque< idx_t > &rhs) | ||||||
| Prints all elements of an std::deque. More... | |||||||
| template<class idx_t > | |||||||
| std::ostream & | operator<< (std::ostream &os, std::stack< idx_t > rhs) | ||||||
| Prints all elements of an std::stack. More... | |||||||
| std::ostream& operator<< | ( | std::ostream & | os, |
| const gl::Graph< SCALAR, STORAGE, gl::Directed > & | rhs | ||
| ) |
Prints all info of a directed graph.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const gl::Graph< SCALAR, STORAGE, gl::Undirected > & | rhs | ||
| ) |
Prints all info of an undirected graph.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const gl::Distance< val_t > & | dist | ||
| ) |
Prints the value of a gl::Distance.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const std::list< idx_t > & | rhs | ||
| ) |
Prints all elements of an std::list.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const std::vector< idx_t > & | rhs | ||
| ) |
Prints all elements of an std::vector.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const std::deque< idx_t > & | rhs | ||
| ) |
Prints all elements of an std::deque.
| std::ostream& operator<< | ( | std::ostream & | os, |
| std::stack< idx_t > | rhs | ||
| ) |
Prints all elements of an std::stack.
Only supports copying the stack, due to its implementation.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const gl::Color & | rhs | ||
| ) |
Prints a gl::Color element. Format: [Hex code;(R,G,B),Opacity].
| os | Stream that will be used for output | |
| [in] | rhs | Color that will be printed |