-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprintAll
26 lines (26 loc) · 913 Bytes
/
printAll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//void PokimonMaster::printAllTrees() {
// fatherMatchSon1 fatherSon = fatherMatchSon1();
// fatherMatchSon2 fatherSon2 = fatherMatchSon2();
// print p1 = print();
// print2 p2 = print2();
// cout << "idTree:" << endl;
// this->idPokimonTree->inOrder(p1);
// cout << endl;
// this->idPokimonTree->NodeInOrder(fatherSon);
// cout << " fatherSonCheck: " << fatherSon.IsTrue << endl;
// cout << "levelTree:" << endl;
// this->levelPokimonTree->inOrder(p2);
// cout << endl;
// this->levelPokimonTree->NodeInOrder(fatherSon2);
// cout << " fatherSonCheck: " << fatherSon2.IsTrue << endl;
// Iterator<Trainer*> it = trainerList.begin();
// for (; it != trainerList.end(); ++it) {
// cout << " trainer: " << (*it)->getId() << " " << endl;
// ((*it)->gettree())->inOrder(p2);
// cout << endl;
// (*it)->gettree()->NodeInOrder(fatherSon2);
// cout << " fatherSonCheck: " << fatherSon2.IsTrue << endl;
//
// }
//
//}