ilog.rules.dvs.core

Interface IlrSimulationKPI

  • All Superinterfaces:
    IlrInitializable
    All Known Subinterfaces:
    IlrKPI, IlrKPIResultAggregator


    public interface IlrSimulationKPI
    extends IlrInitializable
    IlrSimulationKPI is the base interface for the calculated key performance indicators (KPIs) during an execution of a simulation. There are two types of implementation:
    • IlrKPI implementations calculate the value of a key performance indicator during the sequential execution of a simulation. The calculation methods of an IlrKPI class are called before and after each execution of a simulation case. The overall result is retrieved by calling the getKPIResult() method.
    • IlrKPIResultAggregator implementations calculate the consolidated value of a key performance indicator at the end of a simulation that is split into a number of parts. The calculation method of an IlrKPIResultAggregator class is called after each execution of a subset of the simulation (simulation part). The KPI result is calculated by an IlrKPI implementation for this simulation part, and the overall result is then retrieved by calling the getKPIResult() method of the IlrKPIResultAggregator implementation.
    Since:
    8.0
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void close()
      Releases resources at the end of the run.
      IlrKPIResult getKPIResult()
      Returns the KPI result to be included in the full report.
    • Method Detail

      • getKPIResult

        IlrKPIResult getKPIResult()
                                  throws IlrKPIException
        Returns the KPI result to be included in the full report. This method is called after all of the parts of the simulation are executed.
        Throws:
        IlrKPIException - if an error occurs while computing the result.
        Returns:
        The KPI result.
      • close

        void close()
        Releases resources at the end of the run.

© Copyright IBM Corp. 1987, 2017