Class OptimizationPrepareJob
java.lang.Object
fr.ifremer.isisfish.simulator.launcher.OptimizationPrepareJob
- All Implemented Interfaces:
SimulationJob.PostAction
,Runnable
Permet de generer l'enchainement des simulations d'optimisation.
Gere les differentes generation (plusieurs simulations par generation)
- Version:
- $Revision$ Last update: $Date$ by : $Author$
- Author:
- poussin
-
Field Summary
Modifier and TypeFieldDescriptionprotected SimulationControl
protected int
nombre de simulation faiteprotected boolean
true if exception occure in one simulationprotected String
protected SimulationJob
protected Objective
protected Optimization
protected OptimizationContextInternal
protected SimulationParameter
protected int
nombre de simulation faite ou en coursprotected SimulationService
-
Constructor Summary
ConstructorDescriptionOptimizationPrepareJob
(SimulationService simulationService, SimulationJob job) -
Method Summary
Modifier and TypeMethodDescriptionvoid
exception
(SimulationJob job, Throwable eee) Appeler lorsque la simulation a echoué.void
finished
(SimulationJob job, SimulationStorage sim) Appelé lorsque la simulation s'arrete normalement.void
run()
-
Field Details
-
simulationService
-
optimizationContext
-
job
-
id
-
control
-
param
-
objective
-
optimization
-
simNumber
protected int simNumbernombre de simulation faite ou en cours -
done
protected int donenombre de simulation faite -
exception
protected boolean exceptiontrue if exception occure in one simulation
-
-
Constructor Details
-
OptimizationPrepareJob
-
-
Method Details
-
run
public void run() -
finished
Description copied from interface:SimulationJob.PostAction
Appelé lorsque la simulation s'arrete normalement.- Specified by:
finished
in interfaceSimulationJob.PostAction
- Parameters:
job
- le job qui a fait la simulationsim
- la simulation qui vient d'etre faite
-
exception
Description copied from interface:SimulationJob.PostAction
Appeler lorsque la simulation a echoué.- Specified by:
exception
in interfaceSimulationJob.PostAction
- Parameters:
job
- le job qui a fait la simulationeee
- l'exception qui a ete levee
-