Package fr.ifremer.isisfish.simulator
Interface SimulationPlanContext
- All Known Subinterfaces:
OptimizationContext
- All Known Implementing Classes:
AnalysePlanContext,OptimizationContextInternal,SimulationPlanContextInternal
public interface SimulationPlanContext
- Version:
- $Revision$ Last update: $Date$ by : $Author$
- Author:
- poussin
-
Method Summary
Modifier and TypeMethodDescriptiongetId()Get id.Get last simulation storage.intDeprecated.getParam()Get simulation parameters.getSimulation(int number) GetSimulationStoragefor specified simulation plan number.Get plan context value.voidSet plan context value.
-
Method Details
-
getId
String getId()Get id.- Returns:
- the id
-
getLastSimulation
SimulationStorage getLastSimulation()Get last simulation storage. Used in script.- Returns:
- last simulation storage
-
getNumber
int getNumber()Deprecated.usenextSimulation.getParameter().getSimulationPlanNumber()Get current simulation plan simulation count. Warning, in after simulation, refer to generated simulation count, not ended simulation number. Depreciated, but no remove this method, it's just to not be used by user script.- Returns:
- the number
-
getParam
SimulationParameter getParam()Get simulation parameters.- Returns:
- simulation parameters
-
getSimulation
GetSimulationStoragefor specified simulation plan number.- Parameters:
number- number- Returns:
SimulationStorage
-
getValue
Get plan context value. Used in script.- Parameters:
key- key- Returns:
- value for key.
-
setValue
Set plan context value. Used in script.- Parameters:
key- keyvalue- value
-
getHistoric
Historic getHistoric()
-
nextSimulation.getParameter().getSimulationPlanNumber()