src/work/deba/main.cpp
author alpar
Sun, 25 Apr 2004 20:16:16 +0000
changeset 400 cb377609cf1d
child 571 9632ea8be6ca
permissions -rw-r--r--
class NodeSet: A graph class with no edges
class EdgeSet: A graph class using the node set of another graph.
It compiles but untested and undocumented.
     1 #include <iostream>
     2 #include "test_graph.h"
     3 
     4 using namespace std;
     5 using namespace hugo;
     6 
     7 
     8 int main() {
     9 	ListGraph g;
    10 	ListGraph::NodeMap<int> map(g);
    11 	ListGraph::Node node = g.addNode();
    12 	map[node] = 12;	
    13 	return 0;
    14 }
    15