src/benchmark/bfs-bench.cc
changeset 947 93e9c45703ea
parent 839 3edf35893a90
child 986 e997802b855c
equal deleted inserted replaced
3:efeb4067b986 4:fe294ea5a5cf
     1 // -*- mode:C++ -*-
     1 // -*- mode:C++ -*-
     2 
     2 
     3 #include <queue>
     3 #include <queue>
     4 #include<math.h>
     4 #include<math.h>
     5 #include<hugo/smart_graph.h>
     5 #include<lemon/smart_graph.h>
     6 #include"bench_tools.h"
     6 #include"bench_tools.h"
     7 
     7 
     8 using namespace std;
     8 using namespace std;
     9 using namespace hugo;
     9 using namespace lemon;
    10 
    10 
    11 inline int numOfOnes(int n,int dim)
    11 inline int numOfOnes(int n,int dim)
    12 {
    12 {
    13   int s=0;
    13   int s=0;
    14   for(int i=0;i<dim;i++) {
    14   for(int i=0;i<dim;i++) {