16 */ |
16 */ |
17 |
17 |
18 using namespace hugo; |
18 using namespace hugo; |
19 |
19 |
20 |
20 |
21 //Compile SmartGraph |
|
22 typedef SmartGraph Graph; |
21 typedef SmartGraph Graph; |
|
22 |
|
23 //Compile GraphWrapper |
23 typedef GraphWrapper<Graph> GW; |
24 typedef GraphWrapper<Graph> GW; |
24 template void checkCompileStaticGraph<GW>(GW &); |
25 template void checkCompileStaticGraph<GW>(GW &); |
25 //template void checkCompileGraphFindEdge<SmartGraph>(SmartGraph &); |
|
26 |
26 |
27 //Compile SymSmartGraph |
27 //Compile RevGraphWrapper |
28 typedef RevGraphWrapper<Graph> RevGW; |
28 typedef RevGraphWrapper<Graph> RevGW; |
29 template void checkCompileStaticGraph<RevGW>(RevGW &); |
29 template void checkCompileStaticGraph<RevGW>(RevGW &); |
30 //template void checkCompileGraphFindEdge<SymSmartGraph>(SymSmartGraph &); |
30 |
|
31 //Compile SubGraphWrapper |
|
32 typedef SubGraphWrapper<Graph, Graph::NodeMap<bool>, |
|
33 Graph::EdgeMap<bool> > SubGW; |
|
34 template void checkCompileStaticGraph<SubGW>(SubGW &); |
|
35 |
|
36 //Compile UndirGraphWrapper |
|
37 /// \bug UndirGraphWrapper cannot pass the StaticGraph test |
|
38 //typedef UndirGraphWrapper<Graph> UndirGW; |
|
39 //template void checkCompileStaticGraph<UndirGW>(UndirGW &); |
|
40 |
|
41 //Compile UndirGraph |
|
42 //typedef UndirGraph<Graph> UndirG; |
|
43 //template void checkCompileStaticGraph<UndirG>(UndirG &); |
|
44 |
|
45 //typedef SubBidirGraphWrapper<Graph, Graph::EdgeMap<bool>, |
|
46 /// \bug SubBidirGraphWrapper cannot pass the StaticGraph test |
|
47 // Graph::EdgeMap<bool> > SubBDGW; |
|
48 //template void checkCompileStaticGraph<SubBDGW>(SubBDGW &); |
|
49 |
|
50 //Compile BidirGraphWrapper |
|
51 //typedef BidirGraphWrapper<Graph> BidirGW; |
|
52 //template void checkCompileStaticGraph<BidirGW>(BidirGW &); |
|
53 |
|
54 //Compile BidirGraph |
|
55 //typedef BidirGraph<Graph> BidirG; |
|
56 //template void checkCompileStaticGraph<BidirG>(BidirG &); |
|
57 |
|
58 //Compile ResGraphWrapper |
|
59 //typedef ResGraphWrapper<Graph, int, Graph::EdgeMap<int>, |
|
60 // Graph::EdgeMap<int> > ResGW; |
|
61 //template void checkCompileStaticGraph<ResGW>(ResGW &); |
|
62 |
|
63 //Compile ErasingFirstGraphWrapper |
|
64 typedef ErasingFirstGraphWrapper<Graph, Graph::NodeMap<Graph::Edge> > ErasingFirstGW; |
|
65 template void checkCompileStaticGraph<ErasingFirstGW>(ErasingFirstGW &); |
31 |
66 |
32 |
67 |
33 int main() |
68 int main() |
34 { |
69 { |
35 std::cout << __FILE__ ": All tests passed.\n"; |
70 std::cout << __FILE__ ": All tests passed.\n"; |