Revision: | 1061 |
Committed: | Thu May 27 18:50:20 2021 UTC (4 years, 3 months ago) by francois |
Content type: | text/plain |
File size: | 329 byte(s) |
Log Message: | reorganisation des repertoires de magic avec import de la visu vtk |
# | User | Rev | Content |
---|---|---|---|
1 | francois | 283 | #ifndef DFS_H |
2 | #define DFS_H | ||
3 | |||
4 | #include <set> | ||
5 | |||
6 | namespace HypergraphLib { | ||
7 | |||
8 | class Graph; | ||
9 | class Node; | ||
10 | |||
11 | /** | ||
12 | * Depth First Search Algorithm : | ||
13 | * given one start node, find all nodes that are connected to it | ||
14 | * and return them | ||
15 | */ | ||
16 | void HYPERGRAPHLIB_ITEM dfs(Node *__n, std::set < Node * > & __depthFirstSearchNodes); | ||
17 | } | ||
18 | |||
19 | #endif// DFS_H |