#include <vector>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <ctime>
#include "angel_types.hpp"
#include "angel_tools.hpp"
Go to the source code of this file.
Namespaces | |
namespace | angel |
Classes | |
class | angel::write_edge_eliad_op_t |
Operator used in write_graph_eliad. More... | |
struct | angel::no_output_t |
class | angel::string_stream_output_t |
struct | angel::stream_output_t |
struct | angel::vis_display_output_t |
Functions | |
int | angel::read_graph_eliad (const string &file_name, c_graph_t &cg, bool retry=true) |
Read graph in EliAD graph format from file. | |
void | angel::write_face (ostream &stream, line_graph_t::face_t face, const line_graph_t &lg) |
Write a face face of lg to stream . | |
void | angel::write_face (line_graph_t::face_t face, const line_graph_t &lg) |
Write a face face of lg to standard output. | |
void | angel::write_face_vector (ostream &stream, const string &s, const vector< line_graph_t::face_t > &v, const line_graph_t &lg) |
Write a vector v of faces from lg to stream with comment s . | |
void | angel::write_face_vector (const string &s, const vector< line_graph_t::face_t > &v, const line_graph_t &lg) |
Write a vector v of faces from lg to standard output with comment s . | |
template<typename T1, typename T2> | |
ostream & | angel::operator<< (ostream &stream, const std::pair< T1, T2 > &p) |
Write pair of arbitrary types to stream if their output operator is defined. | |
template<typename Scalar_t> | |
void | angel::write_vector (ostream &stream, const string &s, const vector< Scalar_t > &v) |
Write STL vector v to stream with comment s if their output operator is defined. | |
template<typename Scalar_t> | |
void | angel::write_vector (const string &s, const vector< Scalar_t > &v) |
Write STL vector v to standard output with comment s if their output operator is defined. | |
template<typename Scalar_t, typename Op_t> | |
void | angel::write_vector (ostream &stream, const string &s, const vector< Scalar_t > &v, Op_t op) |
Write STL vector to stream. | |
template<typename Scalar_t, typename Op_t> | |
void | angel::write_vector (const string &s, const vector< Scalar_t > &v, Op_t op) |
Write STL vector to standard output. | |
template<typename Ad_graph_t> | |
void | angel::write_graph (ostream &stream, const string &s, const Ad_graph_t &adg, bool write_edge_weight) |
Write c-graph or line graph to stream. | |
template<typename Ad_graph_t> | |
void | angel::write_graph (const string &s, const Ad_graph_t &adg, bool write_edge_weight) |
Write c-graph or line graph to standard output. | |
template<typename Ad_graph_t> | |
void | angel::write_graph (const string &file_name, const string &s, const Ad_graph_t &adg, bool write_edge_weight) |
Write c-graph or line graph to file. | |
template<typename Ad_graph_t> | |
void | angel::write_graph (ostream &stream, const string &s, const Ad_graph_t &adg) |
Write c-graph or line graph to stream. | |
template<typename Ad_graph_t> | |
void | angel::write_graph (const string &s, const Ad_graph_t &adg) |
Write c-graph or line graph to standard output. | |
template<typename Ad_graph_t> | |
void | angel::write_graph (const string &file_name, const string &s, const Ad_graph_t &adg) |
Write c-graph or line graph to file. | |
template<typename Ad_graph_t> | |
void | angel::write_graph_eliad (ostream &stream, const Ad_graph_t &adg) |
Write c-graph or line graph in EliAD format to stream. | |
template<typename Ad_graph_t> | |
void | angel::write_graph_eliad (const Ad_graph_t &adg) |
Write c-graph or line graph in EliAD format to standard output. | |
template<typename Ad_graph_t> | |
void | angel::write_graph_eliad (const string &file_name, const Ad_graph_t &adg) |
Write c-graph or line graph in EliAD format to file. | |
template<typename Prop_t, typename Ad_graph_t> | |
void | angel::write_vertex_property (ostream &stream, const string &s, const Prop_t &prop, const Ad_graph_t &adg) |
Write internal vertex property to stream. | |
template<typename Prop_t, typename Ad_graph_t> | |
void | angel::write_edge_property (ostream &stream, const string &s, const Prop_t &prop, const Ad_graph_t &adg) |
Write internal edge property to stream. | |
void | angel::open_log_file (int &argc, char **&argv) |
void | angel::close_log_file () |
string | angel::numbered_filename (const string &basename, const string &suffix, int number, int width=4) |
template<class Value_t> | |
no_output_t & | angel::operator<< (no_output_t &out, const Value_t &) |
template<class Value_t> | |
string_stream_output_t & | angel::operator<< (string_stream_output_t &out, const Value_t &value) |
void | angel::write_refillDependences (ostream &stream, const refillDependenceMap_t &refillDependences) |
void | angel::writeVertexAndEdgeTypes (ostream &stream, c_graph_t &angelLCG) |
Variables | |
ofstream | angel::log_file |
no_output_t | angel::no_output |
string_stream_output_t | angel::cout_string_output |
vis_display_output_t | angel::cout_vis_display_output |