equal
deleted
inserted
replaced
5 #include <vector> |
5 #include <vector> |
6 |
6 |
7 using namespace hugo; |
7 using namespace hugo; |
8 |
8 |
9 typedef SmartGraph Graph; |
9 typedef SmartGraph Graph; |
10 //typedef GraphSkeleton Graph; |
10 //typedef Graph Graph; |
11 |
11 |
12 |
12 |
13 Graph::OutEdgeIt safeFirstOut(const Graph &G, Graph::Node n) |
13 Graph::OutEdgeIt safeFirstOut(const Graph &G, Graph::Node n) |
14 { |
14 { |
15 return G.valid(n) ? Graph::OutEdgeIt(G,n):INVALID; |
15 return G.valid(n) ? Graph::OutEdgeIt(G,n):INVALID; |