Space Comps
 All Classes Files Functions Variables
algchecker.h
1 #ifndef ALGCHECKER_H
2 #define ALGCHECKER_H
3 #include "algorithm.h"
4 #include "constants.h"
5 
13 {
14 public:
28  AlgChecker(int dimensions, int algType, double winSize, int numPartsIn, int finalTime, int seedIn);
29 
30  ~AlgChecker();
31 
41  void run();
42 
43 private:
44  Algorithm* algorithm;
45  int finalTimestep;
46  int numParts;
47  int algID;
48 
49 };
50 
51 #endif // ALGCHECKER_H
The Algorithm class is a parent to all the specific Algorithms we test.
Definition: algorithm.h:16
void run()
run calculates the time it takes the already constructed algorithm to complete the given number of ti...
Definition: algchecker.cpp:122
The AlgChecker class is used to perform tests on a given algorithm under the specific environment cre...
Definition: algchecker.h:12
AlgChecker(int dimensions, int algType, double winSize, int numPartsIn, int finalTime, int seedIn)
AlgChecker constructs the algorithm and environment specified by the input.
Definition: algchecker.cpp:12