Specialized ConstMap for defining constant maps at compile time, by klao.
Time comparision of the generic and specialized maps.
2 #include<hugo/smart_graph.h>
3 #include<hugo/skeletons/graph.h>
4 #include<hugo/list_graph.h>
5 #include<hugo/full_graph.h>
6 #include<hugo/graph_wrapper.h>
8 #include"test/test_tools.h"
9 #include"test/graph_test.h"
13 This test makes consistency checks of graph wrappers.
15 \todo More extensive tests are needed
22 typedef SmartGraph Graph;
23 typedef GraphWrapper<Graph> GW;
24 template void checkCompileStaticGraph<GW>(GW &);
25 //template void checkCompileGraphFindEdge<SmartGraph>(SmartGraph &);
27 //Compile SymSmartGraph
28 typedef RevGraphWrapper<Graph> RevGW;
29 template void checkCompileStaticGraph<RevGW>(RevGW &);
30 //template void checkCompileGraphFindEdge<SymSmartGraph>(SymSmartGraph &);
35 std::cout << __FILE__ ": All tests passed.\n";