SpeedLimitTypes.java
package org.opentrafficsim.road.network.speed;
/**
* Predefined list of speed limit types.
* <p>
* Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
* BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
* </p>
* @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a>
* @author <a href="https://github.com/wjschakel">Wouter Schakel</a>
*/
@SuppressWarnings("checkstyle:finalclass")
public class SpeedLimitTypes
{
/** Do not create instance. */
private SpeedLimitTypes()
{
//
}
/** Maximum vehicle speed limit type. */
public static final SpeedLimitTypeSpeed MAX_VEHICLE_SPEED;
/** Maximum legal vehicle speed limit type. */
public static final SpeedLimitTypeSpeedLegal MAX_LEGAL_VEHICLE_SPEED;
/** Road class speed limit type. */
public static final SpeedLimitTypeSpeedLegal ROAD_CLASS;
/** Fixed speed sign speed limit type. */
public static final SpeedLimitTypeSpeedLegal FIXED_SIGN;
/** Dynamic speed sign speed limit type. */
public static final SpeedLimitTypeSpeedLegal DYNAMIC_SIGN;
/** Curvature speed limit type. */
public static final SpeedLimitType<SpeedInfoCurvature> CURVATURE;
/** Speed bump speed limit type with design speed as info. */
public static final SpeedLimitTypeSpeed SPEED_BUMP;
static
{
MAX_VEHICLE_SPEED = new SpeedLimitTypeSpeed("Maximum vehicle speed");
MAX_LEGAL_VEHICLE_SPEED = new SpeedLimitTypeSpeedLegal("Maximum legal vehicle speed");
ROAD_CLASS = new SpeedLimitTypeSpeedLegal("Road class");
FIXED_SIGN = new SpeedLimitTypeSpeedLegal("Fixed sign");
DYNAMIC_SIGN = new SpeedLimitTypeSpeedLegal("Dynamic sign");
CURVATURE = new SpeedLimitType<>("Curvature", SpeedInfoCurvature.class);
SPEED_BUMP = new SpeedLimitTypeSpeed("Speed bump");
}
}