|All Extended Interfaces|
|All Known Subinterfaces|
|All Known Implementations|
Advances the state of a Simulation thru time. This follows the strategy design pattern: a Simulation can be fitted with any of several possible AdvanceStrategys. This gives flexibility in choosing what algorithm to use for advancing the Simulation.
this.advance( timeStep, opt_memoList ) →
Advances the Simulation state by the specified amount of time.
Sets the simulation back to its initial conditions, and sets the simulation time to the starting time.
this.setTimeStep( timeStep ) →
Sets the default time step, the small increment of time by which to advance the simulation's state.
The reason for storing the time step in AdvanceStrategy is so that
myphysicslab.test.TestViewerApp produces same results as running a test.
This is a convenient way for a test to make known the time step to use.
Returns a minimal string representation of this object, usually giving just identity information like the class name and name of the object.
For an object whose main purpose is to represent another Printable object, it is
recommended to include the result of calling
toStringShort on that other object. For
toStringShort() on a DisplayShape might return something like