Package it.unimi.di.prog2.s18
Class AstronomicalSystemClient
java.lang.Object
it.unimi.di.prog2.s18.AstronomicalSystemClient
Allows verification of the behavior of an astronomical system.
For more details, see the overview of this package.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AstronomicalSystemClient
private AstronomicalSystemClient().
-
-
Method Details
-
main
Simulates an astronomical system.Reads the information of celestial bodies from standard input, and simulates the system for the number of steps specified as the first argument on the command line; hence it emits on the standard error the state of the system and the total energy.
- Parameters:
args
- the number of simulation steps.
-