Class InputParameterDistDiscreteSelection

All Implemented Interfaces:
Serializable, Cloneable, InputParameter<InputParameterMapDistDiscrete,InputParameterMapDistDiscrete>

public class InputParameterDistDiscreteSelection extends InputParameterSelectionMap<String,InputParameterMapDistDiscrete>
InputParameterDistDiscreteSelection takes care of exposing the necessary parameters for each of the discrete distribution functions. It has a function called getDist() which returns the distribution of the current choice.

Copyright (c) 2003-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.
Author:
Alexander Verbraeck
See Also:
  • Constructor Details

    • InputParameterDistDiscreteSelection

      public InputParameterDistDiscreteSelection(String key, String shortName, String description, StreamInterface stream, double displayPriority) throws InputParameterException
      Parameters:
      key - String; unique name for the selection parameter of the distribution function
      shortName - String; concise description of the input parameter
      description - String; long description of the input parameter (may use HTML markup)
      stream - StreamInterface; the random number stream to use for the distribution
      displayPriority - double; sorting order when properties are displayed to the user
      Throws:
      NullPointerException - when key, shortName, defaultValue, description, or stream is null
      IllegalArgumentException - when displayPriority is NaN
      InputParameterException - in case the default value is not part of the list; should not happen
  • Method Details