[Lemon-commits] [lemon_svn] marci: r1033 - hugo/trunk/src/work/marci/leda
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:42:51 CET 2006
Author: marci
Date: Mon Aug 23 13:28:26 2004
New Revision: 1033
Modified:
hugo/trunk/src/work/marci/leda/comparison.cc
Log:
.
Modified: hugo/trunk/src/work/marci/leda/comparison.cc
==============================================================================
--- hugo/trunk/src/work/marci/leda/comparison.cc (original)
+++ hugo/trunk/src/work/marci/leda/comparison.cc Mon Aug 23 13:28:26 2004
@@ -20,6 +20,7 @@
#include <hugo/maps.h>
#include <hugo/max_flow.h>
+using std::cin;
using std::cout;
using std::endl;
@@ -47,17 +48,17 @@
int a;
cout << "number of nodes in the first color class=";
- std::cin >> a;
+ cin >> a;
int b;
cout << "number of nodes in the second color class=";
- std::cin >> b;
+ cin >> b;
int m;
cout << "number of edges=";
- std::cin >> m;
+ cin >> m;
int k;
cout << "A bipartite graph is a random group graph if the color classes \nA and B are partitiones to A_0, A_1, ..., A_{k-1} and B_0, B_1, ..., B_{k-1} \nas equally as possible \nand the edges from A_i goes to A_{i-1 mod k} and A_{i+1 mod k}.\n";
cout << "number of groups in LEDA random group graph=";
- std::cin >> k;
+ cin >> k;
cout << endl;
leda_list<leda_node> lS;
More information about the Lemon-commits
mailing list