Several changes in Kruskal alg.
- Input object interface was changed to an STL compatible one.
- template parameters of class KruskalPairVec has been simplified.
- (the most of) the names meet the naming conventions.
- a lot of (but still not enough) documentation has been added.
- class KruskalMapVec has been commented out.
11 cout << "Kérek szépen egy egész számot!" << endl;
15 cout << "Kerek sok sikvektort." << endl;
27 cout << "Az összeg aktualisan: " << osszeg << endl;
28 cout << "A különbség aktualisan: " << kul << endl;
31 cout << "A kovetkezo szamokat szoroztam ossze:" << endl;
32 for(unsigned int i=0; i<v.size(); ++i) {
33 cout << v[i] << ", A normanégyzete: " << v[i].normSquare() <<endl;
34 cout << v[i] << " " << s << " szorosa " << v[i]*s <<endl;
35 cout << v[i] << " " << s << " edrésze " << v[i]/s <<endl;
38 cout << "Az elsö kettö szorzata: " << v[0]*v[1] << endl;
41 cout << "Eleg nehez volt." << endl;