Class ModelControlKPI


  • public class ModelControlKPI
    extends nl.tno.imb.mc.ModelStarter

    Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
    BSD-style license. See OpenTrafficSim License.

    Version:
    $Revision$, $LastChangedDate$, by $Author$, initial version Nov 11, 2016
    Author:
    Alexander Verbraeck, Peter Knoppers, Wouter Schakel
    • Constructor Detail

      • ModelControlKPI

        public ModelControlKPI​(String[] args,
                               String providedModelName,
                               int providedModelId)
                        throws org.opentrafficsim.imb.IMBException
        Parameters:
        args - String[]; model starter command line arguments
        providedModelName - String; name of the model
        providedModelId - int; id of the model
        Throws:
        org.opentrafficsim.imb.IMBException - in case of IMB error
    • Method Detail

      • startModel

        public void startModel​(nl.tno.imb.mc.ModelParameters parameters,
                               nl.tno.imb.TConnection imbConnection)
        Specified by:
        startModel in class nl.tno.imb.mc.ModelStarter
      • stopModel

        public void stopModel()
        Specified by:
        stopModel in class nl.tno.imb.mc.ModelStarter
      • quitApplication

        public void quitApplication()
        Specified by:
        quitApplication in class nl.tno.imb.mc.ModelStarter
      • parameterRequest

        public void parameterRequest​(nl.tno.imb.mc.ModelParameters parameters)
        Specified by:
        parameterRequest in class nl.tno.imb.mc.ModelStarter