Test driver for directed graph class. More...
#include <iostream>#include <OpenAnalysis/Utils/DGraph/DGraphStandard.hpp>
Go to the source code of this file.
Classes | |
| class | myGraph |
| class | myGraph::Node |
| class | myGraph::Edge |
Functions | |
| void | list_DFS_nodes (myGraph &) |
| void | list_ReversePostDFS_nodes (myGraph &) |
| void | dump_graph (myGraph &) |
| int | main (int argc, char *argv[]) |
Test driver for directed graph class.
Copyright (c) 2002-2005, Rice University
Copyright (c) 2004-2005, University of Chicago
Copyright (c) 2006, Contributors
All rights reserved.
See ../../../Copyright.txt for details.
Definition in file grtest.cpp.
| void dump_graph | ( | myGraph & | g | ) |
Definition at line 143 of file grtest.cpp.
References OA::n, myGraph::Edge::val, and myGraph::Node::val.
Referenced by main().
| void list_DFS_nodes | ( | myGraph & | g | ) |
Definition at line 109 of file grtest.cpp.
References OA::n, and myGraph::Node::val.
Referenced by main().
| void list_ReversePostDFS_nodes | ( | myGraph & | g | ) |
Definition at line 121 of file grtest.cpp.
References OA::DGraph::DEdgeOrg, OA::n, and myGraph::Node::val.
Referenced by main().
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Definition at line 54 of file grtest.cpp.
References dump_graph(), myGraph::edge_count(), list_DFS_nodes(), list_ReversePostDFS_nodes(), myGraph::node_count(), and OA::Exception::report().

1.7.1