benchmark/graph-bench.cc
changeset 1777 a70cee06ae9c
parent 1435 8e85e6bbefdf
child 1847 7cbc12e42482
equal deleted inserted replaced
0:1880a74058a6 1:a0bccc60478c
    12 ///\param p Tuning parameters.
    12 ///\param p Tuning parameters.
    13 ///\warning \c rat, \c p, and \c n must be pairwise relative primes. 
    13 ///\warning \c rat, \c p, and \c n must be pairwise relative primes. 
    14 template <class Graph>
    14 template <class Graph>
    15 void makeFullGraph(int n, int rat, int p)
    15 void makeFullGraph(int n, int rat, int p)
    16 {
    16 {
    17   GRAPH_TYPEDEF_FACTORY(Graph);
    17   GRAPH_TYPEDEFS(typename Graph);
    18 
    18 
    19   Graph G;
    19   Graph G;
    20   
    20   
    21   //  Node nodes[n];
    21   //  Node nodes[n];
    22   std::vector<Node> nodes(n);
    22   std::vector<Node> nodes(n);