#include<iostream.h>
#include<LINK/graph/UBinGraph.h>

main()
{
	UBinGraph g;
        Set<Vertex*> 	   s;
	Vertex *v1, *v2;

	v1 = g.addVertex("v1");
	v2 = g.addVertex("v2");
	s.append( v2); s.append( v1);   // must obey sorted order
	g.addEdge(s);
	cout << g << endl;

	UBinGraph g2(g);	// graph attributes other than "name" are 
				// not copied.
	g2.addVertex("v3");
	cout << g2 << endl;
}
