Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

example.cpp File Reference


Detailed Description

Contains a usage example: DFS on a Graph.

Author:
Wolfram Koska

$Id$

#include <vector>
#include <iostream>
#include "Graph.hpp"

Include dependency graph for example.cpp:


Functions

void dfs (Node n, int num)
 Get the DFS number of the nodes.
int main ()
 Main.

Variables

Graphg
 Pointer to the graph.
PropertyFacilityp
 Pointer to the properties.

Function Documentation

void dfs Node  n,
int  num
 

Get the DFS number of the nodes.

int main  ) 
 

Main.


Variable Documentation

Graph* g
 

Pointer to the graph.

PropertyFacility* p
 

Pointer to the properties.


Generated on Sun Nov 5 12:05:30 2006 for Graph by  doxygen 1.4.1