#include #include #include #include #include"bench_tools.h" using namespace hugo; ///Makes a full graph by adding and deleting a lot of edges; ///\param n Number of nodes. ///\param rat The funcion will make \f$rat\timesn^2\f$ edge addition and ///\f$(rat-1)\timesn^2\f$ deletion. ///\param p Tuning parameters. ///\warning \c rat, \c p, and \c n must be pairwise relative primes. template void makeFullGraph(int n, int rat, int p) { GRAPH_TYPEDEF_FACTORY(Graph); Graph G; // Node nodes[n]; std::vector nodes(n); for(int i=0;i equ(rat); unsigned long long int count; for(count=0;count