/// <summary>The simulation time (in seconds) that has passed so far.</summary>
floattime_;
doubletime_;
public:
...
...
@@ -126,7 +126,7 @@ public:
/// <summary>Returns the current simulation time (in seconds).</summary>
/// <returns>The time (in seconds) that has been simulated since the simulation started.</returns>
inlinefloatGetCurrentTime()const{returntime_;}
inlinedoubleGetCurrentTime()const{returntime_;}
/// <summary>Returns the duration of a single simulation time step (in seconds), i.e. the time that is simulated in a single execution of DoStep().</summary>
/// <returns>The durection of a single simulation time step (in seconds).</summary>
/// <summary>Appends a set of agent positions to the output buffer. The result is not yet written to a file; you need to call Flush() for this.</summary>
/// <param name="poss">A list of agent positions, ordered by agent ID in a map.</param>
/// <param name="t">The current simulation time.</param>