Class AlchemistStateObservations

  • All Implemented Interfaces:

    
    public final class AlchemistStateObservations
    
                        

    Represents the state of an Alchemist simulation at a given time.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Double time
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Double getTime()
      final Unit addObservation(String name, Double value) Adds an observation for the state.
      final Double getObservation(String name) Returns the value of the observation with the given name.
      final Double getObservation(Integer id) Returns the value of the observation with the given id.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AlchemistStateObservations

        AlchemistStateObservations(Double time)
        Parameters:
        time - the time at which the state is referred to.