Class AstronomicalSystemClient

java.lang.Object
it.unimi.di.prog2.s18.AstronomicalSystemClient

public class AstronomicalSystemClient extends Object
Allows verification of the behavior of an astronomical system.

For more details, see the overview of this package.

  • Constructor Details

    • AstronomicalSystemClient

      private AstronomicalSystemClient()
      .
  • Method Details

    • main

      public static void main(String[] args)
      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.