Interface SimulationPlan

All Superinterfaces:
NecessaryResult
All Known Subinterfaces:
AnalysePlan, AnalysePlanIndependent, SimulationPlanIndependent

public interface SimulationPlan extends NecessaryResult
Simulation plan. Replace old AnalysePlan.
Version:
$Revision$ Last update: $Date$ by : $Author$
Author:
poussin
  • Method Details

    • getDescription

      String getDescription() throws Exception
      Return plan description.
      Returns:
      plan description
      Throws:
      Exception
    • init

      void init(SimulationPlanContext 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(SimulationPlanContext 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(SimulationPlanContext 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