#include <iostream>
#include <cmath>
#include <algorithm>
#include <ctype.h>
#include <stdlib.h>
#include <unistd.h>
#include "graphgen.hpp"
Typedefs | |
typedef undirected_graph | Graph |
configuration typedefs | |
typedef link_weight< weightvt > | Weight |
typedef canonical< Weight, shape::simple > | Ensemble |
Functions | |
double | f1 (qint) |
double | f1 (qint q, qint k) |
double | p_a (qint q, qint k) |
double | p_b (qint q, qint k) |
double | r_BA (qint q) |
double | p_inv (qint q) |
template<class E> | |
int | crosscheck_rates_weights (E &e) |
template<class E> | |
int | check_degrees (E &e) |
int | batch_estimates () |
int | batch_rates_weights () |
void | check_estimates () |
bool | crosscheck_vertex_weights () |
template<class E> | |
void | DumpGraphs (int N) |
void | calculate_degree_distribution (const histomatrix &E, std::vector< double > &pi) |
void | dump_average_degrees () |
void | print_help () |
int | main (int argc, char **argv) |
Variables | |
int | NV = 1000 |
default parameters | |
int | NL = 3000 |
int | NS = 1000 |
const value_type::weight_value_type | weightvt = value_type::weight |
int crosscheck_rates_weights | ( | E & | e | ) | [inline] |
check difference | W_abs - W_rel | < allowed_error
References graphgen::graph_weight(), and graphgen::tab().