Changeset 921:818510fa3d99 in lemon-0.x for src/benchmark
- Timestamp:
- 09/29/04 17:30:04 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1232
- Location:
- src/benchmark
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/benchmark/bench_tools.h
r750 r921 1 1 // -*- mode:C++ -*- 2 #ifndef HUGO_BENCH_TEST_H3 #define HUGO_BENCH_TEST_H2 #ifndef LEMON_BENCH_TEST_H 3 #define LEMON_BENCH_TEST_H 4 4 5 5 #include<vector> 6 6 #include<iostream> 7 7 8 #include< hugo/time_measure.h>8 #include<lemon/time_measure.h> 9 9 10 10 ///An experimental typedef factory … … 75 75 }; 76 76 77 inline void PrintTime(char *ID, hugo::Timer &T)77 inline void PrintTime(char *ID,lemon::Timer &T) 78 78 { 79 hugo::TimeStamp S(T);79 lemon::TimeStamp S(T); 80 80 std::cout << ID << ' ' << S.getUserTime() << ' ' 81 81 << S.getSystemTime() << ' ' << S.getRealTime() << std::endl; -
src/benchmark/bfs-bench.cc
r839 r921 3 3 #include <queue> 4 4 #include<math.h> 5 #include< hugo/smart_graph.h>5 #include<lemon/smart_graph.h> 6 6 #include"bench_tools.h" 7 7 8 8 using namespace std; 9 using namespace hugo;9 using namespace lemon; 10 10 11 11 inline int numOfOnes(int n,int dim) -
src/benchmark/graph-bench.cc
r718 r921 1 1 #include<math.h> 2 #include< hugo/list_graph.h>2 #include<lemon/list_graph.h> 3 3 4 4 #include"bench_tools.h" 5 5 6 using namespace hugo;6 using namespace lemon; 7 7 8 8 ///Makes a full graph by adding and deleting a lot of edges; … … 46 46 int main() 47 47 { 48 hugo::Timer T;48 lemon::Timer T; 49 49 makeFullGraph<ListGraph>(nextPrim(1000),nextPrim(300),nextPrim(100)); 50 50 -
src/benchmark/hcube.cc
r905 r921 2 2 3 3 #include<math.h> 4 #include< hugo/list_graph.h>5 #include< hugo/smart_graph.h>6 #include< hugo/dijkstra.h>7 #include< hugo/preflow.h>4 #include<lemon/list_graph.h> 5 #include<lemon/smart_graph.h> 6 #include<lemon/dijkstra.h> 7 #include<lemon/preflow.h> 8 8 9 9 #include"bench_tools.h" 10 10 11 11 using namespace std; 12 using namespace hugo;12 using namespace lemon; 13 13 14 14 inline int numOfOnes(int n,int dim)
Note: See TracChangeset
for help on using the changeset viewer.