util.hpp File Reference

Shared utilities, used throughout some parts of graphgen. More...

#include <vector>
#include <iostream>
#include <algorithm>
#include <cmath>

Include dependency graph for util.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  graphgen
namespace  graphgen::graphtype

Classes

class  graphgen::symmetric_matrix< T >
 Symmetric matrix container data type<T>. More...

Typedefs

typedef unsigned int graphgen::qint
 unsigned type used degrees, multiplicities
typedef RNG_DRAND48 graphgen::RNG

Functions

template<class Ch, class Tr>
std::basic_ostream< Ch, Tr > & graphgen::tab (std::basic_ostream< Ch, Tr > &s)
 output a tab character to an output stream using a manipulator stream << tab << "something"
void graphgen::err (const char *msg)
unsigned int graphgen::ltm_index (unsigned int i, unsigned int j)
 calculate storage index of a_{ij} in a lower triangular matrix for storage of symmetric matrices

Variables

const unsigned int graphgen::graphtype::SIMPLE = 2
const unsigned int graphgen::graphtype::TREE = 4
const unsigned int graphgen::graphtype::CONNECTED = 8
const unsigned int graphgen::graphtype::NSIMPLE = ~SIMPLE
const unsigned int graphgen::graphtype::NTREE = ~TREE
const unsigned int graphgen::graphtype::NCONNECTED = ~CONNECTED


Detailed Description

Shared utilities, used throughout some parts of graphgen.

Random number generator flags for undirected_graph, a pool for item indices, a symmetric matrix linear representation


Generated on Wed Jun 2 14:49:06 2010 for GraphGen by  doxygen 1.5.6