fr.ifremer.isisfish.simulator
Interface AnalysePlan

All Known Subinterfaces:
AnalysePlanIndependent

public interface AnalysePlan

AnalysePlan.java Created: 1 mars 07 20:27:28

Version:
$Revision: 2431 $ Last update: $Date: 2009-06-25 15:11:31 +0200 (jeu., 25 juin 2009) $ by : $Author: chatellier $ TODO will be renamed to SimulationPlan soon
Author:
poussin

Method Summary
 boolean afterSimulation(AnalysePlanContext context, SimulationStorage lastSimulation)
          Call after each simulation.
 boolean beforeSimulation(AnalysePlanContext context, SimulationStorage nextSimulation)
          Call before each simulation.
 String getDescription()
          Return plan description.
 String[] getNecessaryResult()
          Return plan necessary Results.
 void init(AnalysePlanContext context)
          Use only once before first simulation.
 

Method Detail

getNecessaryResult

String[] getNecessaryResult()
Return plan necessary Results.

Returns:
the necessaryResult name

getDescription

String getDescription()
                      throws Exception
Return plan description.

Returns:
plan description
Throws:
Exception

init

void init(AnalysePlanContext context)
          throws Exception
Use only once before first simulation. You can modified Param for all simulation or put value in context.values.

Parameters:
context - plan context
Throws:
Exception

beforeSimulation

boolean beforeSimulation(AnalysePlanContext context,
                         SimulationStorage nextSimulation)
                         throws Exception
Call before each simulation.

Parameters:
context - plan context
nextSimulation - storage used for next simulation
Returns:
true if we must do next simulation, false to stop plan
Throws:
Exception

afterSimulation

boolean afterSimulation(AnalysePlanContext context,
                        SimulationStorage lastSimulation)
                        throws Exception
Call after each simulation.

Parameters:
context - plan context
lastSimulation - storage used for simulation
Returns:
true if we must do next simulation, false to stop plan
Throws:
Exception


Copyright © 1999-2010 CodeLutin. All Rights Reserved.