public abstract static class OperationalPlan.Segment extends Object implements Serializable
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.
Modifier and Type | Field and Description |
---|---|
protected Duration |
duration
The duration of the acceleration or speed for this segment.
|
protected Speed |
v0
The initial speed for this segment.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Duration |
getDuration() |
double |
getDurationSI() |
int |
hashCode() |
protected final Duration duration
protected Speed v0
public Segment(Duration duration)
duration
- Duration; the duration of the acceleration or speed for this segmentpublic final Duration getDuration()
public final double getDurationSI()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.