src/benchmark/hcube.cc
changeset 932 ade3cdb9b45d
parent 905 5be029d19c98
child 946 c94ef40a22ce
equal deleted inserted replaced
6:9d8028dcd034 7:8440afc550a0
     1 // -*- mode:C++ -*-
     1 // -*- mode:C++ -*-
     2 
     2 
     3 #include<math.h>
     3 #include<math.h>
     4 #include<hugo/list_graph.h>
     4 #include<lemon/list_graph.h>
     5 #include<hugo/smart_graph.h>
     5 #include<lemon/smart_graph.h>
     6 #include<hugo/dijkstra.h>
     6 #include<lemon/dijkstra.h>
     7 #include<hugo/preflow.h>
     7 #include<lemon/preflow.h>
     8 
     8 
     9 #include"bench_tools.h"
     9 #include"bench_tools.h"
    10 
    10 
    11 using namespace std;
    11 using namespace std;
    12 using namespace hugo;
    12 using namespace lemon;
    13 
    13 
    14 inline int numOfOnes(int n,int dim)
    14 inline int numOfOnes(int n,int dim)
    15 {
    15 {
    16   int s=0;
    16   int s=0;
    17   for(int i=0;i<dim;i++) {
    17   for(int i=0;i<dim;i++) {