Class ParameterTypeLinearDensity

All Implemented Interfaces:
Serializable, Identifiable

public class ParameterTypeLinearDensity
extends ParameterTypeNumeric<LinearDensity>
implements Serializable
Wrapper class for LinearDensity parameters.

Copyright (c) 2013-2019 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 Apr 13, 2016
Author:
Alexander Verbraeck, Wouter Schakel
See Also:
Serialized Form
  • Constructor Details

    • ParameterTypeLinearDensity

      public ParameterTypeLinearDensity​(String id, String description)
      Construct a new ParameterTypeLinearDensity without default value and check.
      Parameters:
      id - String; short name of the new ParameterTypeLinearDensity
      description - String; parameter description or full name of the new ParameterTypeLinearDensity
    • ParameterTypeLinearDensity

      public ParameterTypeLinearDensity​(String id, String description, LinearDensity defaultValue)
      Construct a new ParameterTypeLinearDensity with default value, without check.
      Parameters:
      id - String; short name of the new ParameterTypeLinearDensity
      description - String; parameter description or full name of the new ParameterTypeLinearDensity
      defaultValue - LinearDensity; the default value of the new ParameterTypeLinearDensity
    • ParameterTypeLinearDensity

      public ParameterTypeLinearDensity​(String id, String description, Constraint<? super LinearDensity> constraint)
      Construct a new ParameterTypeLinearDensity without default value, with check.
      Parameters:
      id - String; short name of the new ParameterTypeLinearDensity
      description - String; parameter description or full name of the new ParameterTypeLinearDensity
      constraint - Constraint<? super LinearDensity>; constraint for parameter values
    • ParameterTypeLinearDensity

      public ParameterTypeLinearDensity​(String id, String description, LinearDensity defaultValue, Constraint<? super LinearDensity> constraint)
      Construct a new ParameterTypeLinearDensity with default value and check.
      Parameters:
      id - String; short name of the new ParameterTypeLinearDensity
      description - String; parameter description or full name of the new ParameterTypeLinearDensity
      defaultValue - LinearDensity; the default value of the new ParameterTypeLinearDensity
      constraint - Constraint<? super LinearDensity>; constraint for parameter values
  • Method Details