Class InputParameterDistDiscrete

java.lang.Object
nl.tudelft.simulation.dsol.model.inputparameters.AbstractInputParameter<DistDiscrete,DistDiscrete>
nl.tudelft.simulation.dsol.model.inputparameters.InputParameterDistDiscrete
All Implemented Interfaces:
Serializable, Cloneable, InputParameter<DistDiscrete,DistDiscrete>

public class InputParameterDistDiscrete extends AbstractInputParameter<DistDiscrete,DistDiscrete>
InputParameterDistDiscrete provides a choice for a discrete distribution.

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

    • InputParameterDistDiscrete

      public InputParameterDistDiscrete(String key, String shortName, String description, StreamInterface stream, DistDiscrete defaultValue, double displayPriority) throws InputParameterException
      Construct a new InputParameterDistDiscrete.
      Parameters:
      key - String; unique (within the parent's input parameter map) name of the new InputParameterDistDiscrete
      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 chosen distribution
      defaultValue - DistDiscrete; the default value of this input parameter
      displayPriority - double; sorting order when properties are displayed to the user
      Throws:
      NullPointerException - when key, shortName, defaultValue, or description is null
      InputParameterException - in case the default value is not part of the list
      NullPointerException - when key, shortName, defaultValue, description, or stream is null
      IllegalArgumentException - when displayPriority is NaN
  • Method Details