visualization of bsort, manager now responsible for updates and time
split timeractions from timers into seperate header integrated the experiments into an improved displaynumbers, which includes the vector as well as bars above them outsourced the calculation of delta time to the manager to clean up main()
This commit is contained in:
@@ -62,25 +62,6 @@ public:
|
||||
void updatetimers();
|
||||
};
|
||||
|
||||
class swapaction : public timeraction {
|
||||
public:
|
||||
size_t it_i = 0;
|
||||
bool iscomplete = false;
|
||||
std::vector<int> &input_vector;
|
||||
swapaction(std::vector<int> &input_vector);
|
||||
void update(const timer &t);
|
||||
};
|
||||
|
||||
class printaction : public timeraction {
|
||||
public:
|
||||
size_t it_i = 0;
|
||||
bool iscomplete = false;
|
||||
std::vector<balkjes> &input_vector;
|
||||
printaction(std::vector<balkjes> &input_vector);
|
||||
void update(const timer &t);
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user