-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStatistics.cpp
33 lines (28 loc) · 1.05 KB
/
Statistics.cpp
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
27
28
29
30
31
32
33
/* Hunter Trautz, hctrautz
Gabe Aponte, gaaponte
PA5, Polymorphism
Statistics.cpp */
#include <iostream>
#include "Statistics.h"
using namespace std;
/** Prints the results of the simulation
* @Return Prints out the results of the simulation
*/
void Statistics::printResults(){
// printing the original command line input
cout << "******************************************" << endl;
cout << "STATISTICS FOR SIMULATION:" << endl << endl;
cout << "The original command line was: gridSize – " << gridSize;
cout << " #doodlebugs – " << doodleBugs;
cout << " ants – " << ants;
cout << " time_steps – " << steps;
cout << " seed – " << seed;
cout << " pause - " << pause << endl;
cout << "Steps Run: " << stepsRun << endl;
cout << "Ant Total: " << antTotal << endl;
cout << "Ants Remaining: " << antRemaining << endl;
cout << "Doodlebug Total: " << doodlebugTotal << endl;
cout << "Doodlebugs Remaining: " << doodlebugRemaining << endl;
cout << "*******************************************" << endl;
cout << "FINAL BOARD LAYOUT:" << endl << endl;
}