Simple "Hello World!" program for LEMON.
More...
Simple "Hello World!" program for LEMON.
using namespace lemon;
using namespace std;
int main()
{
ListDigraph::Arc a = g.
addArc(u, v);
cout <<
"Hello World! This is LEMON library here." <<
endl;
cout <<
"We have a directed graph with " <<
countNodes(g) <<
" nodes "
<<
"and " <<
countArcs(g) <<
" arc." << endl;
return 0;
}