Class OperationalPlan.AccelerationSegment
java.lang.Object
org.opentrafficsim.core.gtu.plan.operational.OperationalPlan.Segment
org.opentrafficsim.core.gtu.plan.operational.OperationalPlan.AccelerationSegment
- All Implemented Interfaces:
Serializable
- Enclosing class:
- OperationalPlan
public static class OperationalPlan.AccelerationSegment extends OperationalPlan.Segment
The segment of an operational plan in which the acceleration is constant.
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.
- Author:
- Alexander Verbraeck, Peter Knoppers
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class org.opentrafficsim.core.gtu.plan.operational.OperationalPlan.Segment
duration, v0 -
Constructor Summary
Constructors Constructor Description AccelerationSegment(Duration duration, Acceleration acceleration) -
Method Summary
Methods inherited from class org.opentrafficsim.core.gtu.plan.operational.OperationalPlan.Segment
getDuration, getDurationSI
-
Constructor Details
-
AccelerationSegment
- Parameters:
duration- Duration; the duration of the constant acceleration for this segmentacceleration- Acceleration; the acceleration for the given duration
-
-
Method Details
-
hashCode
public final int hashCode()- Overrides:
hashCodein classOperationalPlan.Segment
-
equals
- Overrides:
equalsin classOperationalPlan.Segment
-
timeAtDistance
-
toString
-