Class AlchemistSimulationAdapterWithExtractor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Extractor<Object> getExtractor() The extractor to be used to extract data from the simulation.
      Double getObsValue(String obs) Get the value of the observation with the given name.
      Double getObsValue(Integer obsId) Get the value of the observation with the given id.
      • Methods inherited from class it.unibo.alchemist.multivesta.adapter.AbstractAlchemistSimulationAdapter

        doStep, getTime, performWholeSimulation, rval, rval
      • Methods inherited from class java.lang.Object

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

      • AlchemistSimulationAdapterWithExtractor

        AlchemistSimulationAdapterWithExtractor(Simulation<Object, Void> simulation, Extractor<Object> extractor)
        Parameters:
        simulation - the simulation to be wrapped.
    • Method Detail

      • getObsValue

         Double getObsValue(String obs)

        Get the value of the observation with the given name. The observations named "time" and "step" have been already handled.