Class AlchemistSimulationAdapterWithExporter
-
- All Implemented Interfaces:
-
it.unibo.alchemist.multivesta.adapter.AlchemistSimulationAdapter
public final class AlchemistSimulationAdapterWithExporter extends AbstractAlchemistSimulationAdapter
This is an adapter that allow MultiVesta to interact with Alchemist.
-
-
Constructor Summary
Constructors Constructor Description AlchemistSimulationAdapterWithExporter(Simulation<Object, Void> simulation)
-
Method Summary
Modifier and Type Method Description 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. -
-
Constructor Detail
-
AlchemistSimulationAdapterWithExporter
AlchemistSimulationAdapterWithExporter(Simulation<Object, Void> simulation)
- 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.
-
getObsValue
Double getObsValue(Integer obsId)
Get the value of the observation with the given id.
-
-
-
-