Many, many more comments

This commit is contained in:
2024-12-04 17:15:04 +01:00
parent 8696517336
commit 03854339ca
100 changed files with 1702 additions and 49 deletions
+5
View File
@@ -3,12 +3,17 @@
#include <iostream>
// class to keep track of the "simulation time" (i.e. number of processed events * Activity)
class Timer {
public:
// Constructor; initializes time to 0
Timer();
// getter for the time
double time() const;
// increase the time by time_s (time in s)
void increaseTimestep(double time_s);
// set time to time_s
void setTime(double time_s);
private: